diff options
author | Stig S. Bakken <stig@php.net> | 1999-09-06 16:14:08 +0000 |
---|---|---|
committer | Stig S. Bakken <stig@php.net> | 1999-09-06 16:14:08 +0000 |
commit | 009025e00d073e70a9107183068bba31525c2159 (patch) | |
tree | b051cae4f99d5b1692a4850f6ea2840808c6023c /Zend/zend_ptr_stack.c | |
parent | 4d5491e2857f80ad758716e6b0964cac3a514ac7 (diff) | |
download | php-git-009025e00d073e70a9107183068bba31525c2159.tar.gz |
* header file cleanup
* fixed --enable-thread-safety build for UNIX
I don't have a Win32 environment available, could someone please try
compiling on Win32 to see if I got all the header file stuff right there?
Diffstat (limited to 'Zend/zend_ptr_stack.c')
-rw-r--r-- | Zend/zend_ptr_stack.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Zend/zend_ptr_stack.c b/Zend/zend_ptr_stack.c index 3048d99c2a..17ed0a4b1f 100644 --- a/Zend/zend_ptr_stack.c +++ b/Zend/zend_ptr_stack.c @@ -20,11 +20,10 @@ #include "zend.h" #include "zend_ptr_stack.h" -#if HAVE_STDARG_H -#include <stdarg.h> +#ifdef HAVE_STDARG_H +# include <stdarg.h> #endif - ZEND_API void zend_ptr_stack_init(zend_ptr_stack *stack) { stack->top_element = stack->elements = (void **) emalloc(sizeof(void *)*PTR_STACK_BLOCK_SIZE); |