Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-09-06 08:30:46 +0400
committerChristopher Faylor <me@cgf.cx>2002-09-06 08:30:46 +0400
commit4898f75e37575cf1db4be818f74834272d9195a0 (patch)
tree25083136323729669baf693868086f32dfbc9d3c /winsup/cygwin
parent5c0469b45c32463ae97bfbf972a3f010543caa0f (diff)
* winsup.h (_WIN32_WINNT): Protect.
Diffstat (limited to 'winsup/cygwin')
-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>