aboutsummaryrefslogtreecommitdiff
path: root/mmalloc/mmprivate.h
diff options
context:
space:
mode:
authorJason Molenda <crash@cygnus>1995-11-05 03:12:15 +0000
committerJason Molenda <crash@cygnus>1995-11-05 03:12:15 +0000
commitc93a17b7aba525ca857d7955d2a22dfafaf1c8b1 (patch)
treed3f0bcca7957e0ae0f02178994d4dc590b709297 /mmalloc/mmprivate.h
parent1738bcd31b7027c1eab8cfc680c3dcac478cd3ce (diff)
downloadgdb-c93a17b7aba525ca857d7955d2a22dfafaf1c8b1.zip
gdb-c93a17b7aba525ca857d7955d2a22dfafaf1c8b1.tar.gz
gdb-c93a17b7aba525ca857d7955d2a22dfafaf1c8b1.tar.bz2
* configure.in: add AC_HEADER_STDC check.
* mmalloc.h: check if STDC_HEADERS instead of __STDC__. * mmprivate.h: check if STDC_HEADERS instead of __STDC__. This change is necessary to build under AIX 3.2.5 w/ cc after Stan's Oct 24 change. I'm not convinced that changing mmalloc.h in this way is such a good thing--if a directory that doesn't use autoconf (or one that DOES use autoconf but doesn't put all the defines on the command line), and it includes mmalloc.h, the right thing won't happen. I believe gdb is the only directory which uses mmalloc, though, so it should be OK.
Diffstat (limited to 'mmalloc/mmprivate.h')
-rw-r--r--mmalloc/mmprivate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mmalloc/mmprivate.h b/mmalloc/mmprivate.h
index f5e7555..30a5d26 100644
--- a/mmalloc/mmprivate.h
+++ b/mmalloc/mmprivate.h
@@ -28,7 +28,7 @@ Boston, MA 02111-1307, USA.
#include "mmalloc.h"
-#ifdef __STDC__
+#ifdef STDC_HEADERS
# include <limits.h>
# ifndef NULL
# define NULL (void *) 0