]> granicus.if.org Git - php/commitdiff
Fix the HPUX alloca fix as suggested by Sascha
authorfoobar <sniper@php.net>
Sat, 19 Jul 2003 13:10:24 +0000 (13:10 +0000)
committerfoobar <sniper@php.net>
Sat, 19 Jul 2003 13:10:24 +0000 (13:10 +0000)
Zend/zend.h

index d5dd21f53d4937889e6225849a507111d68285e3..c5f896ffa542feb4df8ed7110028a9b07d658a98 100644 (file)
@@ -146,7 +146,7 @@ char *alloca ();
 # endif
 #endif
 
-#if (HAVE_ALLOCA || (defined (__GNUC__) && __GNUC__ >= 2)) && !(defined(ZTS) && defined(ZEND_WIN32)) && !(defined(ZTS) && defined(NETWARE)) && !defined(HPUX)
+#if (HAVE_ALLOCA || (defined (__GNUC__) && __GNUC__ >= 2)) && !(defined(ZTS) && defined(ZEND_WIN32)) && !(defined(ZTS) && defined(NETWARE)) && !(defined(ZTS) && defined(HPUX))
 # define do_alloca(p) alloca(p)
 # define free_alloca(p)
 #else