summaryrefslogtreecommitdiff
path: root/Zend/zend_config.w32.h
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/zend_config.w32.h')
-rw-r--r--Zend/zend_config.w32.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/Zend/zend_config.w32.h b/Zend/zend_config.w32.h
index e7c393d9e2..f13aa0684f 100644
--- a/Zend/zend_config.w32.h
+++ b/Zend/zend_config.w32.h
@@ -21,6 +21,13 @@
#ifndef ZEND_CONFIG_W32_H
#define ZEND_CONFIG_W32_H
+#define HAVE_ALLOCA 1
+#define HAVE_LIMITS_H 1
+#define _CRTDBG_MAP_ALLOC
+
+#include <malloc.h>
+#include <stdlib.h>
+#include <crtdbg.h>
#include <string.h>
#include <windows.h>
@@ -29,10 +36,6 @@
typedef unsigned long ulong;
typedef unsigned int uint;
-#define HAVE_ALLOCA 1
-#define HAVE_LIMITS_H 1
-#include <malloc.h>
-
#undef HAVE_KILL
#define HAVE_GETPID 1
/* #define HAVE_ALLOCA_H 1 */