atleast using SGI's cc - should not harm other platforms (i hope)
# define ZEND_EXTENSIONS_SUPPORT 0
#endif
+#if defined(HAVE_ALLOCA) && defined(HAVE_ALLOCA_H)
+# include <alloca.h>
+#endif
+
#if (HAVE_ALLOCA || (defined (__GNUC__) && __GNUC__ >= 2)) && !(defined(ZTS) && defined(ZEND_WIN32))
-# define do_alloca(p) alloca(p)
-# define free_alloca(p)
+# define do_alloca(p) alloca(p)
+# define free_alloca(p)
#else
-# define do_alloca(p) emalloc(p)
-# define free_alloca(p) efree(p)
+# define do_alloca(p) emalloc(p)
+# define free_alloca(p) efree(p)
#endif
#if ZEND_DEBUG
#include "zend_fast_cache.h"
#include "zend_execute_locks.h"
-#if defined(HAVE_ALLOCA) && defined(HAVE_ALLOCA_H)
-# include <alloca.h>
-#endif
-
#define get_zval_ptr(node, Ts, should_free, type) _get_zval_ptr(node, Ts, should_free ELS_CC)
#define get_zval_ptr_ptr(node, Ts, type) _get_zval_ptr_ptr(node, Ts ELS_CC)