summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKalle Sommer Nielsen <kalle@php.net>2008-08-13 22:40:39 +0000
committerKalle Sommer Nielsen <kalle@php.net>2008-08-13 22:40:39 +0000
commit540326c31f39d57ce3d0d11b47d6fb905562d38c (patch)
tree3e74311ea7f2fed0841dc648efb6d118b7a56315
parent4da3495bd8e35d993064f3ba4b9b8f904c619aef (diff)
downloadphp-git-540326c31f39d57ce3d0d11b47d6fb905562d38c.tar.gz
MFH:
* Remove NTDDI_VERSION declaring and use the one in config.w32.h * Remove another _WIN32_WINNT macro redef in win32/time.c
-rw-r--r--main/php.h6
-rw-r--r--win32/time.c4
2 files changed, 0 insertions, 10 deletions
diff --git a/main/php.h b/main/php.h
index 88a94da5c9..ac3a57bfda 100644
--- a/main/php.h
+++ b/main/php.h
@@ -54,12 +54,6 @@
# 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")))
diff --git a/win32/time.c b/win32/time.c
index 693f074185..a704ab9904 100644
--- a/win32/time.c
+++ b/win32/time.c
@@ -22,10 +22,6 @@
/* Include stuff ************************************************************ */
-/* this allows the use of the WaitableTimer functions.
- * For win98 and later */
-#define _WIN32_WINNT 0x400
-
#include "time.h"
#include "unistd.h"
#include "signal.h"