Allow any gcc to make use of __builtin_alloca for alloca.
authorWayne Davison <wayned@samba.org>
Thu, 31 Dec 2009 03:58:57 +0000 (19:58 -0800)
committerWayne Davison <wayned@samba.org>
Thu, 31 Dec 2009 04:04:20 +0000 (20:04 -0800)
popt/system.h

index f835a58..50cecaf 100644 (file)
@@ -85,7 +85,7 @@ char *alloca(size_t size);
 #   endif
 #  endif
 # endif
-#elif defined(__GNUC__) && defined(__STRICT_ANSI__)
+#elif !defined(alloca)
 #define alloca __builtin_alloca
 #endif