X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=nesc.git;a=blobdiff_plain;f=src%2Fnconfig.h;fp=src%2Fnconfig.h;h=54a596fa6dbdc70c867a7f2735b739fee6a8772c;hp=54323e4ecf786faf907a910bf6e9446bcdd8a2df;hb=7b54393e237ed8f23c0c74f0a6cbc8de26c5bf98;hpb=57d4530c4d6814fa25338a00cc65b95938c723b6 diff --git a/src/nconfig.h b/src/nconfig.h index 54323e4..54a596f 100644 --- a/src/nconfig.h +++ b/src/nconfig.h @@ -63,6 +63,7 @@ typedef unsigned char bool; #ifdef HAVE_ALLOCA_H #include #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