diff options
| author | Dave Love | 2002-11-18 16:37:53 +0000 |
|---|---|---|
| committer | Dave Love | 2002-11-18 16:37:53 +0000 |
| commit | dee8ab28ac52f3d4c0bae527614fb5fa7122054d (patch) | |
| tree | 1ee6d25feefda3f9c224b35523c7db6b2b9a909a /src | |
| parent | ca55a74c0bd8ff69ee6159d9339dacd9c8522ad8 (diff) | |
| download | emacs-dee8ab28ac52f3d4c0bae527614fb5fa7122054d.tar.gz emacs-dee8ab28ac52f3d4c0bae527614fb5fa7122054d.zip | |
Don't include alloca.h.
Diffstat (limited to 'src')
| -rw-r--r-- | src/m/powerpcle.h | 6 | ||||
| -rw-r--r-- | src/m/sparc.h | 6 | ||||
| -rw-r--r-- | src/s/irix4-0.h | 4 | ||||
| -rw-r--r-- | src/s/irix5-0.h | 6 |
4 files changed, 0 insertions, 22 deletions
diff --git a/src/m/powerpcle.h b/src/m/powerpcle.h index f5f29fe3a0e..e1409200dbc 100644 --- a/src/m/powerpcle.h +++ b/src/m/powerpcle.h | |||
| @@ -54,11 +54,5 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 54 | 54 | ||
| 55 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | 55 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) |
| 56 | 56 | ||
| 57 | #ifndef NOT_C_CODE | ||
| 58 | #if __GNUC__ < 2 /* Modern versions of GCC handle alloca directly. */ | ||
| 59 | #include <alloca.h> | ||
| 60 | #endif | ||
| 61 | #endif | ||
| 62 | |||
| 63 | /* Control a conditional in unexelf.c. */ | 57 | /* Control a conditional in unexelf.c. */ |
| 64 | #define SOLARIS_POWERPC | 58 | #define SOLARIS_POWERPC |
diff --git a/src/m/sparc.h b/src/m/sparc.h index 5bd16a0b408..28ac8421694 100644 --- a/src/m/sparc.h +++ b/src/m/sparc.h | |||
| @@ -59,12 +59,6 @@ NOTE-END */ | |||
| 59 | 59 | ||
| 60 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | 60 | #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) |
| 61 | 61 | ||
| 62 | #ifndef NOT_C_CODE | ||
| 63 | #if __GNUC__ < 2 /* Modern versions of GCC handle alloca directly. */ | ||
| 64 | #include <alloca.h> | ||
| 65 | #endif | ||
| 66 | #endif | ||
| 67 | |||
| 68 | /* Mask for address bits within a memory segment */ | 62 | /* Mask for address bits within a memory segment */ |
| 69 | 63 | ||
| 70 | #define SEGMENT_MASK (SEGSIZ - 1) | 64 | #define SEGMENT_MASK (SEGSIZ - 1) |
diff --git a/src/s/irix4-0.h b/src/s/irix4-0.h index 93d4fba1716..4144c34d9af 100644 --- a/src/s/irix4-0.h +++ b/src/s/irix4-0.h | |||
| @@ -5,10 +5,6 @@ | |||
| 5 | /* XPointer is not defined in the older X headers -- JPff@maths.bath.ac.uk */ | 5 | /* XPointer is not defined in the older X headers -- JPff@maths.bath.ac.uk */ |
| 6 | #define XPointer caddr_t | 6 | #define XPointer caddr_t |
| 7 | 7 | ||
| 8 | #ifndef NOT_C_CODE | ||
| 9 | #include <alloca.h> | ||
| 10 | #endif | ||
| 11 | |||
| 12 | #undef NEED_SIOCTL | 8 | #undef NEED_SIOCTL |
| 13 | 9 | ||
| 14 | /* Include unistd.h, even though we don't define POSIX. */ | 10 | /* Include unistd.h, even though we don't define POSIX. */ |
diff --git a/src/s/irix5-0.h b/src/s/irix5-0.h index b2cdbeb0b8c..a83d3fcb417 100644 --- a/src/s/irix5-0.h +++ b/src/s/irix5-0.h | |||
| @@ -29,12 +29,6 @@ | |||
| 29 | /* Make process_send_signal work by "typing" a signal character on the pty. */ | 29 | /* Make process_send_signal work by "typing" a signal character on the pty. */ |
| 30 | #define SIGNALS_VIA_CHARACTERS | 30 | #define SIGNALS_VIA_CHARACTERS |
| 31 | 31 | ||
| 32 | #ifndef NOT_C_CODE | ||
| 33 | #ifndef __GNUC__ | ||
| 34 | #include <alloca.h> | ||
| 35 | #endif | ||
| 36 | #endif | ||
| 37 | |||
| 38 | /* SGI has all the fancy wait stuff, but we can't include sys/wait.h | 32 | /* SGI has all the fancy wait stuff, but we can't include sys/wait.h |
| 39 | because it defines BIG_ENDIAN and LITTLE_ENDIAN (ugh!.) Instead | 33 | because it defines BIG_ENDIAN and LITTLE_ENDIAN (ugh!.) Instead |
| 40 | we'll just define WNOHANG right here. | 34 | we'll just define WNOHANG right here. |