aboutsummaryrefslogtreecommitdiffstats
path: root/src/s
diff options
context:
space:
mode:
authorAndreas Schwab2002-04-15 13:24:05 +0000
committerAndreas Schwab2002-04-15 13:24:05 +0000
commitd8f6d720de474d07323ccdf8c70660bda2e9092a (patch)
tree8d0504cf6aa875667b9e8becf88a3d90ad5f1a33 /src/s
parent4c87c7335bf90336a1829b5013dabf3f59124536 (diff)
downloademacs-d8f6d720de474d07323ccdf8c70660bda2e9092a.tar.gz
emacs-d8f6d720de474d07323ccdf8c70660bda2e9092a.zip
Don't define HAVE_ALLOCA, C_ALLOCA and STACK_DIRECTION, now set by autoconf.
Diffstat (limited to 'src/s')
-rw-r--r--src/s/aix3-2.h1
-rw-r--r--src/s/aix4-2.h6
-rw-r--r--src/s/irix4-0.h1
-rw-r--r--src/s/irix5-0.h5
-rw-r--r--src/s/sco5.h5
-rw-r--r--src/s/unixware.h5
6 files changed, 1 insertions, 22 deletions
diff --git a/src/s/aix3-2.h b/src/s/aix3-2.h
index 85637074760..f6d3db75b1a 100644
--- a/src/s/aix3-2.h
+++ b/src/s/aix3-2.h
@@ -15,7 +15,6 @@
15#define C_SWITCH_SYSTEM -ma -qmaxmem=4000 15#define C_SWITCH_SYSTEM -ma -qmaxmem=4000
16#endif 16#endif
17 17
18#define HAVE_ALLOCA
19/* Adrian Colley <Adrian.Colley@three.serpentine.com> says this is needed. */ 18/* Adrian Colley <Adrian.Colley@three.serpentine.com> says this is needed. */
20#ifndef NOT_C_CODE 19#ifndef NOT_C_CODE
21#ifndef AIX4 20#ifndef AIX4
diff --git a/src/s/aix4-2.h b/src/s/aix4-2.h
index 15d32917cc7..fbc20b24a58 100644
--- a/src/s/aix4-2.h
+++ b/src/s/aix4-2.h
@@ -1,9 +1,3 @@
1/* AIX 4.2 is missing alloca. */
2
3#include "aix4-1.h" 1#include "aix4-1.h"
4 2
5#undef ALIGN_DATA_RELOC 3#undef ALIGN_DATA_RELOC
6
7#ifndef __GNUC__
8#undef HAVE_ALLOCA
9#endif
diff --git a/src/s/irix4-0.h b/src/s/irix4-0.h
index b985d0892a7..93d4fba1716 100644
--- a/src/s/irix4-0.h
+++ b/src/s/irix4-0.h
@@ -5,7 +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#define HAVE_ALLOCA
9#ifndef NOT_C_CODE 8#ifndef NOT_C_CODE
10#include <alloca.h> 9#include <alloca.h>
11#endif 10#endif
diff --git a/src/s/irix5-0.h b/src/s/irix5-0.h
index b2565fbba30..b2cdbeb0b8c 100644
--- a/src/s/irix5-0.h
+++ b/src/s/irix5-0.h
@@ -29,11 +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/* Define HAVE_ALLOCA to say that the system provides a properly
33 working alloca function and it should be used. */
34#define HAVE_ALLOCA
35#undef C_ALLOCA
36
37#ifndef NOT_C_CODE 32#ifndef NOT_C_CODE
38#ifndef __GNUC__ 33#ifndef __GNUC__
39#include <alloca.h> 34#include <alloca.h>
diff --git a/src/s/sco5.h b/src/s/sco5.h
index 5eea7955ee5..04bfd7c181e 100644
--- a/src/s/sco5.h
+++ b/src/s/sco5.h
@@ -1,5 +1,5 @@
1/* System description file for SCO 3.2v5. 1/* System description file for SCO 3.2v5.
2 Copyright (C) 1996 Free Software Foundation, Inc. 2 Copyright (C) 1996, 2002 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
@@ -162,9 +162,6 @@ extern SIGMASKTYPE sigprocmask_set;
162#define LD_SWITCH_SYSTEM -belf 162#define LD_SWITCH_SYSTEM -belf
163#endif 163#endif
164 164
165/* SCO has a working alloca in libPW */
166#define HAVE_ALLOCA
167
168/* Don't disable static function, as SCO's header files have some.*/ 165/* Don't disable static function, as SCO's header files have some.*/
169#undef static 166#undef static
170 167
diff --git a/src/s/unixware.h b/src/s/unixware.h
index 01e43a8964e..a4b02531bce 100644
--- a/src/s/unixware.h
+++ b/src/s/unixware.h
@@ -1,8 +1,3 @@
1#include "usg5-4-2.h" 1#include "usg5-4-2.h"
2 2
3#ifndef __GNUC__
4#undef HAVE_ALLOCA
5#define C_ALLOCA
6#endif
7
8#define PENDING_OUTPUT_COUNT(FILE) ((FILE)->__ptr - (FILE)->__base) 3#define PENDING_OUTPUT_COUNT(FILE) ((FILE)->__ptr - (FILE)->__base)