2
0
mirror of https://github.com/bebbo/amigaos-cross-toolchain.git synced 2025-12-08 22:38:24 +00:00
Files
amigaos-cross-toolchain6/patches/binutils-2.9.1/binutils/bucomm.h.diff
2012-02-13 22:48:58 -08:00

17 lines
478 B
Diff

--- binutils-2.9.1/binutils/bucomm.h Fri May 1 08:49:31 1998
+++ binutils-2.9.1/binutils/bucomm.h Sun Aug 23 00:00:00 1998
@@ -96,11 +96,11 @@ extern char *getenv ();
#define SEEK_END 2
#endif
-#ifdef __GNUC__
+#if defined (__GNUC__) && !defined (C_ALLOCA)
# undef alloca
# define alloca __builtin_alloca
#else
-# if HAVE_ALLOCA_H
+# if defined (HAVE_ALLOCA_H) && !defined (C_ALLOCA)
# include <alloca.h>
# else
# ifndef alloca /* predefined by HP cc +Olibcalls */