summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
authorKalle Sommer Nielsen <kalle@php.net>2008-06-24 05:59:53 +0000
committerKalle Sommer Nielsen <kalle@php.net>2008-06-24 05:59:53 +0000
commit4398fbbbe42704faffc1907cf31fb8c6485a0347 (patch)
treef0942374e4baa4d75a1a193ae548f1502e475fb1 /main/php.h
parent7e5ee41aa9f306679213e6327402511cac183292 (diff)
downloadphp-git-4398fbbbe42704faffc1907cf31fb8c6485a0347.tar.gz
MFH
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")))