summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/php.h')
-rw-r--r--main/php.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/main/php.h b/main/php.h
index 5c51d86f66..421af2214c 100644
--- a/main/php.h
+++ b/main/php.h
@@ -54,6 +54,12 @@
# endif
# define PHP_DIR_SEPARATOR '\\'
# define PHP_EOL "\r\n"
+# if defined(NTDDI_VERSION) && NTDDI_VERSION >= 0x06000000
+# undef NTDDI_VERSION
+# endif
+# ifndef NTDDI_VERSION
+# define NTDDI_VERSION 0x05000000
+# endif
#else
# if defined(__GNUC__) && __GNUC__ >= 4
# define PHPAPI __attribute__ ((visibility("default")))