summaryrefslogtreecommitdiff
path: root/phpdbg.h
diff options
context:
space:
mode:
authorkrakjoe <joe.watkins@live.co.uk>2013-11-26 07:53:08 +0000
committerkrakjoe <joe.watkins@live.co.uk>2013-11-26 07:53:08 +0000
commitbc7df607ab2d7771a3c2226b46598645e67e053f (patch)
tree868cec8fa62aaa3a4f10d84ba7bb191ff90d91b7 /phpdbg.h
parent2942caff29fc685a153cb8bf5f73f8a98ea6e2b1 (diff)
downloadphp-git-bc7df607ab2d7771a3c2226b46598645e67e053f.tar.gz
fix windows build
build shared on windows
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