Permalink
Browse files

Fixed definitions

  • Loading branch information...
1 parent 0846676 commit 4ab8d46ddd63bcd1fab43b0f243eef941404679a Dmitry Stogov committed Nov 23, 2007
Showing with 4 additions and 4 deletions.
  1. +2 −2 TSRM/tsrm_config_common.h
  2. +2 −2 Zend/zend.h
@@ -63,8 +63,8 @@ char *alloca ();
do { if (use_heap) free(p); } while (0)
#else
# define TSRM_ALLOCA_FLAG(name)
-# define tsrm_do_alloca(p) malloc(p)
-# define tsrm_free_alloca(p) free(p)
+# define tsrm_do_alloca(p, use_heap) malloc(p)
+# define tsrm_free_alloca(p, use_heap) free(p)
#endif
#endif /* TSRM_CONFIG_COMMON_H */
View
@@ -188,8 +188,8 @@ char *alloca ();
do { if (UNEXPECTED(use_heap)) efree(p); } while (0)
#else
# define ALLOCA_FLAG(name)
-# define do_alloca(p) emalloc(p)
-# define free_alloca(p) efree(p)
+# define do_alloca(p, use_heap) emalloc(p)
+# define free_alloca(p, use_heap) efree(p)
#endif
#if ZEND_DEBUG

0 comments on commit 4ab8d46

Please sign in to comment.