From: Kalle Sommer Nielsen Date: Wed, 13 Aug 2008 22:39:33 +0000 (+0000) Subject: * Remove NTDDI_VERSION declaring and use the one in config.w32.h X-Git-Tag: BEFORE_HEAD_NS_CHANGE~734 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=64b891fce0771d8f3251744265a18075d1c0981e;p=php * Remove NTDDI_VERSION declaring and use the one in config.w32.h * Remove another _WIN32_WINNT macro redef in win32/time.c --- diff --git a/main/php.h b/main/php.h index ae70c5c150..ebfda96c18 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"