]> granicus.if.org Git - php/commitdiff
Bug #25738 (alloca() related problems on the Darwin platform)
authorMoriyoshi Koizumi <moriyoshi@php.net>
Fri, 3 Oct 2003 22:02:55 +0000 (22:02 +0000)
committerMoriyoshi Koizumi <moriyoshi@php.net>
Fri, 3 Oct 2003 22:02:55 +0000 (22:02 +0000)
Zend/zend.h

index 18534acaccb08dcab18d7d1ee84bdbbd5b08bf35..ca40000f0b1ae936856a38560c34e7327bb9fdee 100644 (file)
@@ -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