summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/winsup.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index f005d2986..8558d4d7b 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,9 @@
2002-09-06 Christopher Faylor <cgf@redhat.com>
+ * winsup.h (_WIN32_WINNT): Protect.
+
+2002-09-06 Christopher Faylor <cgf@redhat.com>
+
* winsup.h (_WIN32_WINNT): Define.
2002-09-03 Corinna Vinschen <corinna@vinschen.de>
diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h
index ad2a77885..18aaf8a9e 100644
--- a/winsup/cygwin/winsup.h
+++ b/winsup/cygwin/winsup.h
@@ -31,7 +31,9 @@ details. */
#define NEW_MACRO_VARARGS
#endif
+#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0500
+#endif
#include <sys/types.h>
#include <sys/strace.h>