# define ZEND_EXTENSIONS_SUPPORT 0
#endif
-#if defined(HAVE_ALLOCA) && defined(HAVE_ALLOCA_H)
+#if (HAVE_ALLOCA || (defined (__GNUC__) && __GNUC__ >= 2)) && !(defined(ZTS) && defined(ZEND_WIN32))
+#if 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)
#else
}
#endif
- op_array->refcount = (zend_uint *) emalloc(sizeof(int));
+ op_array->refcount = (zend_uint *) emalloc(sizeof(zend_uint));
*op_array->refcount = 1;
op_array->size = initial_ops_size;
op_array->last = 0;