summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoriyoshi Koizumi <moriyoshi@php.net>2010-03-15 14:19:51 +0000
committerMoriyoshi Koizumi <moriyoshi@php.net>2010-03-15 14:19:51 +0000
commit872f07aa5e642d10d45224f7489c6b2eb796d468 (patch)
tree5d3afe64f974ea27d7e92c40ccd28f15073e9c5f
parentd7530e931ffbcee7817a6c09e06e80e438522020 (diff)
downloadphp-git-872f07aa5e642d10d45224f7489c6b2eb796d468.tar.gz
- Fix win32 build. (notified by Rob. Thanks)
-rw-r--r--ext/mbstring/config.w322
-rw-r--r--ext/mbstring/libmbfl/config.h.w3212
2 files changed, 13 insertions, 1 deletions
diff --git a/ext/mbstring/config.w32 b/ext/mbstring/config.w32
index 31ade6d9a7..2fdd9d3514 100644
--- a/ext/mbstring/config.w32
+++ b/ext/mbstring/config.w32
@@ -7,7 +7,7 @@ ARG_ENABLE("mbregex-backtrack", "check multibyte regex backtrack", "yes");
if (PHP_MBSTRING != "no") {
- FSO.CopyFile("ext\\mbstring\\libmbfl\\config.h.vc6",
+ FSO.CopyFile("ext\\mbstring\\libmbfl\\config.h.w32",
"ext\\mbstring\\libmbfl\\config.h", true);
FSO.CopyFile("ext\\mbstring\\oniguruma\\win32\\config.h",
"ext\\mbstring\\oniguruma\\config.h", true);
diff --git a/ext/mbstring/libmbfl/config.h.w32 b/ext/mbstring/libmbfl/config.h.w32
new file mode 100644
index 0000000000..7458e441eb
--- /dev/null
+++ b/ext/mbstring/libmbfl/config.h.w32
@@ -0,0 +1,12 @@
+#define HAVE_STDIO_H 1
+#define HAVE_STDLIB_H 1
+#define HAVE_STDDEF_H 1
+#define HAVE_ASSERT_H 1
+#define HAVE_MEMORY_H 1
+/* #undef HAVE_STRINGS_H */
+#define HAVE_STRING_H 1
+/* #undef HAVE_STRCASECMP */
+#define HAVE_STRICMP 1
+#define HAVE_WIN32_NATIVE_THREAD 1
+#define USE_WIN32_NATIVE_THREAD 1
+#define ENABLE_THREADS 1