summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2003-07-19 07:19:21 +0000
committerAndi Gutmans <andi@php.net>2003-07-19 07:19:21 +0000
commit99d0a5c86e95c034833ef07c71b899adb2d5ab7b (patch)
tree0f504faa8406ff3784318506023d6fd3b6cd6082
parent1344b5d9b925fb9a035ef859729c4997c009bdf1 (diff)
downloadphp-git-99d0a5c86e95c034833ef07c71b899adb2d5ab7b.tar.gz
- Don't use alloca on HP-UX (Moriyoshi Koizumi <moriyoshi@at.wakwak.com>)
-rw-r--r--Zend/zend.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend.h b/Zend/zend.h
index 3e28b4221f..d5dd21f53d 100644
--- a/Zend/zend.h
+++ b/Zend/zend.h
@@ -146,7 +146,7 @@ char *alloca ();
# endif
#endif
-#if (HAVE_ALLOCA || (defined (__GNUC__) && __GNUC__ >= 2)) && !(defined(ZTS) && defined(ZEND_WIN32)) && !(defined(ZTS) && defined(NETWARE))
+#if (HAVE_ALLOCA || (defined (__GNUC__) && __GNUC__ >= 2)) && !(defined(ZTS) && defined(ZEND_WIN32)) && !(defined(ZTS) && defined(NETWARE)) && !defined(HPUX)
# define do_alloca(p) alloca(p)
# define free_alloca(p)
#else