]> granicus.if.org Git - php/commitdiff
- Make execute() use less stack in thread-safe win32 due to Microsoft's shitty 256kb...
authorAndi Gutmans <andi@php.net>
Tue, 1 Jun 1999 18:47:53 +0000 (18:47 +0000)
committerAndi Gutmans <andi@php.net>
Tue, 1 Jun 1999 18:47:53 +0000 (18:47 +0000)
Zend/zend_execute.c

index cce74d6bd7246a92d0e52a8b34a1a1608fede9bc..1a6a833439a61fe3a2893f92a58ee4c07e85924f 100644 (file)
@@ -806,7 +806,7 @@ static void call_overloaded_function(int arg_count, zval *return_value, HashTabl
 }
 
 
-#if HAVE_ALLOCA || (defined (__GNUC__) && __GNUC__ >= 2)
+#if (HAVE_ALLOCA || (defined (__GNUC__) && __GNUC__ >= 2)) && !(defined(ZTS) && (WINNT|WIN32))
 #      define free_alloca(p)
 #else
 #      define alloca(p)                emalloc(p)