aboutsummaryrefslogtreecommitdiffstats
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:03:49 -0800
commit1fc8c51705924d191e404692b5082c6a0dada200 (patch)
tree2e03244493ad15f2c1b6de4563309f7bfe861e7d
parentb04604945d7d3868f3d914aa7e9ec0d00f8a974e (diff)
downloadandroid_external_rsync-1fc8c51705924d191e404692b5082c6a0dada200.tar.gz
android_external_rsync-1fc8c51705924d191e404692b5082c6a0dada200.tar.bz2
android_external_rsync-1fc8c51705924d191e404692b5082c6a0dada200.zip
Allow any gcc to make use of __builtin_alloca for alloca.
-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