Allow any gcc to make use of __builtin_alloca for alloca.
[rsync/rsync.git] / 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