summaryrefslogtreecommitdiff
path: root/TSRM/config.w32
diff options
context:
space:
mode:
Diffstat (limited to 'TSRM/config.w32')
-rw-r--r--TSRM/config.w3210
1 files changed, 10 insertions, 0 deletions
diff --git a/TSRM/config.w32 b/TSRM/config.w32
new file mode 100644
index 0000000000..525f4390e5
--- /dev/null
+++ b/TSRM/config.w32
@@ -0,0 +1,10 @@
+// vim:ft=javascript
+// $Id$
+
+if (CHECK_HEADER_ADD_INCLUDE("NewAPIs.h", "CFLAGS_PHP", php_usual_include_suspects)) {
+ // Need to add the flag directly, since TSRM doesn't include the config
+ // header
+ ADD_FLAG("CFLAGS_PHP", "/DHAVE_NEWAPIS_H=1");
+}
+ADD_SOURCES("TSRM", "TSRM.c tsrm_strtok_r.c tsrm_virtual_cwd.c tsrm_win32.c");
+