diff options
| -rw-r--r-- | Zend/zend_static_allocator.h | 9 | 
1 files changed, 3 insertions, 6 deletions
diff --git a/Zend/zend_static_allocator.h b/Zend/zend_static_allocator.h index dde3f7fddc..902780716e 100644 --- a/Zend/zend_static_allocator.h +++ b/Zend/zend_static_allocator.h @@ -21,7 +21,10 @@  #define ALLOCATOR_BLOCK_SIZE 400000 +/* Temporary */  typedef unsigned int zend_uint; +#define emalloc(s) malloc(s) +#define efree(p) free(p)  typedef struct _Block {  	char *bp; @@ -39,10 +42,4 @@ int static_allocator_init(StaticAllocator *sa);  char *static_allocator_allocate(StaticAllocator *sa, zend_uint size);  void static_allocator_destroy(StaticAllocator *sa); -/* Temporary */ -#define emalloc(s) malloc(s) -#define efree(p) free(p) -#define SUCCESS 0 -#define FAILURE -1 -  #endif /* _STATIC_ALLOCATOR_H */  | 
