comparison src/m/sparc.h @ 149:538048ae2ab8 r20-3b1

Import from CVS: tag r20-3b1
author cvs
date Mon, 13 Aug 2007 09:36:16 +0200
parents ac2d302a0011
children 59463afc5666
comparison
equal deleted inserted replaced
148:f659db2a1f73 149:538048ae2ab8
64 64
65 /* Convert that into an integer that is 100 for a load average of 1.0 */ 65 /* Convert that into an integer that is 100 for a load average of 1.0 */
66 66
67 #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) 67 #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
68 68
69 /* Define C_ALLOCA if this machine does not support a true alloca
70 and the one written in C should be used instead.
71 Define HAVE_ALLOCA to say that the system provides a properly
72 working alloca function and it should be used.
73 Define neither one if an assembler-language alloca
74 in the file alloca.s should be used. */
75
76 #define HAVE_ALLOCA
77 #ifndef NOT_C_CODE
78 #if __GNUC__ < 2 /* Modern versions of GCC handle alloca directly. */
79 #include <alloca.h>
80 #endif
81 #endif
82
83 /* Solaris defines alloca to __builtin_alloca & does not provide a prototype */
84 #ifdef __SUNPRO_C
85 # ifndef NOT_C_CODE
86 # include <alloca.h>
87 void *__builtin_alloca (unsigned int);
88 # endif
89 #endif
90
91 /* Must use the system's termcap, if we use any termcap. 69 /* Must use the system's termcap, if we use any termcap.
92 It does special things. */ 70 It does special things. */
93 71
94 #ifndef LIBS_TERMCAP 72 #ifndef LIBS_TERMCAP
95 #ifndef TERMINFO 73 #ifndef TERMINFO