From 540326c31f39d57ce3d0d11b47d6fb905562d38c Mon Sep 17 00:00:00 2001 From: Kalle Sommer Nielsen Date: Wed, 13 Aug 2008 22:40:39 +0000 Subject: [PATCH] MFH: * Remove NTDDI_VERSION declaring and use the one in config.w32.h * Remove another _WIN32_WINNT macro redef in win32/time.c --- main/php.h | 6 ------ win32/time.c | 4 ---- 2 files changed, 10 deletions(-) diff --git a/main/php.h b/main/php.h index 88a94da5c98..ac3a57bfda5 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 693f0741853..a704ab99040 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"