summaryrefslogtreecommitdiff
path: root/phpdbg.h
diff options
context:
space:
mode:
Diffstat (limited to 'phpdbg.h')
-rw-r--r--phpdbg.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/phpdbg.h b/phpdbg.h
index 6962cdbf4b..7046ec3d00 100644
--- a/phpdbg.h
+++ b/phpdbg.h
@@ -44,6 +44,10 @@
#if defined(_WIN32) && !defined(__MINGW32__)
# include <windows.h>
# include "config.w32.h"
+# undef strcasecmp
+# undef strncasecmp
+# define strcasecmp _stricmp
+# define strncasecmp _strnicmp
#else
# include "php_config.h"
#endif