Mercurial > hg > xemacs-beta
comparison src/m/powerpc.h @ 149:538048ae2ab8 r20-3b1
Import from CVS: tag r20-3b1
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:36:16 +0200 |
parents | 376386a54a3c |
children | 0132846995bd |
comparison
equal
deleted
inserted
replaced
148:f659db2a1f73 | 149:538048ae2ab8 |
---|---|
52 #define LOAD_AVE_TYPE long | 52 #define LOAD_AVE_TYPE long |
53 | 53 |
54 /* Convert that into an integer that is 100 for a load average of 1.0 */ | 54 /* Convert that into an integer that is 100 for a load average of 1.0 */ |
55 | 55 |
56 #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | 56 #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) |
57 | |
58 /* Define C_ALLOCA if this machine does not support a true alloca | |
59 and the one written in C should be used instead. | |
60 Define HAVE_ALLOCA to say that the system provides a properly | |
61 working alloca function and it should be used. | |
62 Define neither one if an assembler-language alloca | |
63 in the file alloca.s should be used. */ | |
64 | |
65 #define HAVE_ALLOCA | |
66 #ifndef NOT_C_CODE | |
67 #if __GNUC__ < 2 /* Modern versions of GCC handle alloca directly. */ | |
68 #include <alloca.h> | |
69 #endif | |
70 #endif | |
71 | |
72 /* Solaris defines alloca to __builtin_alloca & does not provide a prototype */ | |
73 #ifdef __SUNPRO_C | |
74 # ifndef NOT_C_CODE | |
75 # include <alloca.h> | |
76 # endif | |
77 #endif |