summaryrefslogtreecommitdiff
path: root/popt
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2009-12-30 19:58:57 -0800
committerWayne Davison <wayned@samba.org>2009-12-30 20:04:20 -0800
commit12e59929e245bea0ff6c222eb006866affcaf649 (patch)
tree0486c01f7cbced3034f3b1feb1b12ba63844f730 /popt
parentfc4bb1230ea04ba36b98d28014599448baa82e90 (diff)
downloadrsync-12e59929e245bea0ff6c222eb006866affcaf649.tar.gz
Allow any gcc to make use of __builtin_alloca for alloca.
Diffstat (limited to 'popt')
-rw-r--r--popt/system.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/popt/system.h b/popt/system.h
index f835a58e..50cecaf5 100644
--- a/popt/system.h
+++ b/popt/system.h
@@ -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