summaryrefslogtreecommitdiff
path: root/make.h
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2009-10-03 20:08:20 +0000
committerPaul Smith <psmith@gnu.org>2009-10-03 20:08:20 +0000
commitf87715a62c2e6a5660c2a176fffc0d7333bcfd8c (patch)
tree815c7f2dcc9e2220f7f21c7d30f7533fdd2a4542 /make.h
parent56653d852446e74a4d998c7d91e6591e28c240f9 (diff)
downloadgunmake-f87715a62c2e6a5660c2a176fffc0d7333bcfd8c.tar.gz
- Include <alloca.h> even on non-__GNUC__ systems.
- Add some tests for unresolved bugs.
Diffstat (limited to 'make.h')
-rw-r--r--make.h25
1 files changed, 11 insertions, 14 deletions
diff --git a/make.h b/make.h
index 60d1412..f9c7e1b 100644
--- a/make.h
+++ b/make.h
@@ -23,28 +23,25 @@ this program. If not, see <http://www.gnu.org/licenses/>. */
#undef HAVE_CONFIG_H
#define HAVE_CONFIG_H 1
+/* Specify we want GNU source code. This must be defined before any
+ system headers are included. */
+
+#define _GNU_SOURCE 1
+
/* AIX requires this to be the first thing in the file. */
-#ifndef __GNUC__
-# if HAVE_ALLOCA_H
-# include <alloca.h>
-# else
-# ifdef _AIX
+#if HAVE_ALLOCA_H
+# include <alloca.h>
+#else
+# ifdef _AIX
#pragma alloca
-# else
-# ifndef alloca /* predefined by HP cc +Olibcalls */
+# else
+# ifndef alloca /* predefined by HP cc +Olibcalls */
char *alloca ();
-# endif
# endif
# endif
#endif
-/* Specify we want GNU source code. This must be defined before any
- system headers are included. */
-
-#define _GNU_SOURCE 1
-
-
#ifdef CRAY
/* This must happen before #include <signal.h> so
that the declaration therein is changed. */