summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2008-07-30 17:52:33 +0000
committerStanislav Malyshev <stas@php.net>2008-07-30 17:52:33 +0000
commit6564e214335694ebc054f696b6517ddf49400052 (patch)
tree6566b1d59f25d025bca3e657dafade00e26f4119
parent0ae51b159ea33d25b73b7a3a92e357e39f65e4d4 (diff)
downloadphp-git-6564e214335694ebc054f696b6517ddf49400052.tar.gz
fix warnings
-rw-r--r--TSRM/readdir.h3
-rw-r--r--TSRM/tsrm_config.w32.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/TSRM/readdir.h b/TSRM/readdir.h
index e4fd511704..0665810c85 100644
--- a/TSRM/readdir.h
+++ b/TSRM/readdir.h
@@ -7,9 +7,6 @@
* on Windows 95/NT.
*/
-#undef _WIN32_WINNT
-#define _WIN32_WINNT 0x0500
-
#include <windows.h>
#include <io.h>
diff --git a/TSRM/tsrm_config.w32.h b/TSRM/tsrm_config.w32.h
index 28a4e4242e..14c6443a03 100644
--- a/TSRM/tsrm_config.w32.h
+++ b/TSRM/tsrm_config.w32.h
@@ -1,6 +1,8 @@
#ifndef TSRM_CONFIG_W32_H
#define TSRM_CONFIG_W32_H
+#include <../main/config.w32.h>
+
#define HAVE_UTIME 1
#define HAVE_ALLOCA 1
#define HAVE_REALPATH 1