]> oss.titaniummirror.com Git - nesc.git/blobdiff - src/nconfig.h
Pristine nesc-1.3.2
[nesc.git] / src / nconfig.h
index 54323e4ecf786faf907a910bf6e9446bcdd8a2df..54a596fa6dbdc70c867a7f2735b739fee6a8772c 100644 (file)
@@ -63,6 +63,7 @@ typedef unsigned char bool;
 #ifdef HAVE_ALLOCA_H
 #include <alloca.h>
 #else
+#ifndef HAVE_ALLOCA
 #ifdef __GNUC__
 #define alloca __builtin_alloca
 void *alloca(size_t n);
@@ -70,6 +71,7 @@ void *alloca(size_t n);
 #error need alloca
 #endif
 #endif
+#endif
 
 #if __GNUC__ >= 3 && __GNUC_MINOR__ >= 1
 #define USE_UNNAMED_UNION