diff options
Diffstat (limited to 'sapi/phpdbg/phpdbg_sigsafe.h')
-rw-r--r-- | sapi/phpdbg/phpdbg_sigsafe.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sapi/phpdbg/phpdbg_sigsafe.h b/sapi/phpdbg/phpdbg_sigsafe.h index 6ed74f53db..9ef723fdca 100644 --- a/sapi/phpdbg/phpdbg_sigsafe.h +++ b/sapi/phpdbg/phpdbg_sigsafe.h @@ -1,14 +1,17 @@ #ifndef PHPDBG_SIGSAFE_H #define PHPDBG_SIGSAFE_H -#include "zend_mm_structs.h" +//#include "zend_mm_structs.h" -#define PHPDBG_SIGSAFE_MEM_SIZE (1 << 20) +#define PHPDBG_SIGSAFE_MEM_SIZE ZEND_MM_CHUNK_SIZE +//(1 << 20) + +#include "zend.h" typedef struct { char *mem; zend_bool allocated; - zend_mm_heap heap; + zend_mm_heap *heap; zend_mm_heap *old_heap; zend_mm_storage storage; } phpdbg_signal_safe_mem; |