summaryrefslogtreecommitdiff
path: root/Zend/zend.h
diff options
context:
space:
mode:
authorMoriyoshi Koizumi <moriyoshi@php.net>2003-10-03 22:02:55 +0000
committerMoriyoshi Koizumi <moriyoshi@php.net>2003-10-03 22:02:55 +0000
commit149f786025c559bdcbebb069cab330aa162b3ac7 (patch)
tree9044fc399fd3390d03e84d0591c30fe61439f706 /Zend/zend.h
parentdf11d7079c839e480f5957dd93fd7644ac3974f6 (diff)
downloadphp-git-149f786025c559bdcbebb069cab330aa162b3ac7.tar.gz
Bug #25738 (alloca() related problems on the Darwin platform)
Diffstat (limited to 'Zend/zend.h')
-rw-r--r--Zend/zend.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend.h b/Zend/zend.h
index 18534acacc..ca40000f0b 100644
--- a/Zend/zend.h
+++ b/Zend/zend.h
@@ -171,7 +171,7 @@ char *alloca ();
#endif
-#if (HAVE_ALLOCA || (defined (__GNUC__) && __GNUC__ >= 2)) && !(defined(ZTS) && defined(ZEND_WIN32)) && !(defined(ZTS) && defined(NETWARE)) && !(defined(ZTS) && defined(HPUX))
+#if (HAVE_ALLOCA || (defined (__GNUC__) && __GNUC__ >= 2)) && !(defined(ZTS) && defined(ZEND_WIN32)) && !(defined(ZTS) && defined(NETWARE)) && !(defined(ZTS) && defined(HPUX)) && !defined(__darwin__) && !defined(__APPLE__)
# define do_alloca(p) alloca(p)
# define free_alloca(p)
#else