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:
authorConrad Scott <conrad.scott@dsl.pipex.com>2002-06-28 00:32:40 +0400
committerConrad Scott <conrad.scott@dsl.pipex.com>2002-06-28 00:32:40 +0400
commita54ba81e741d5f2c6d8d335bb24809688f5f3ed0 (patch)
treebfdbee6af693b27a460354104e0f0dc4c1e40c81 /winsup/cygserver
parenta3559f55c005f161053700c1766b378df8b5d884 (diff)
* cygserver_client.cc (client_request::handle_request): Correct
tracing statement. * cygserver_transport_pipes.cc: Remove local definition of FILE_FLAG_FIRST_PIPE_INSTANCE constant. * cygwin_ipc.h: Update copyright notice. * cygwin_shm.h: Ditto. * woutsup.h: Add definition of _WIN32_WINNT.
Diffstat (limited to 'winsup/cygserver')
-rw-r--r--winsup/cygserver/woutsup.h17
1 files changed, 13 insertions, 4 deletions
diff --git a/winsup/cygserver/woutsup.h b/winsup/cygserver/woutsup.h
index 1e1d52c1d..9c153793c 100644
--- a/winsup/cygserver/woutsup.h
+++ b/winsup/cygserver/woutsup.h
@@ -2,11 +2,11 @@
Copyright 2002 Red Hat, Inc.
- This file is part of Cygwin.
+This file is part of Cygwin.
- This software is a copyrighted work licensed under the terms of the
- Cygwin license. Please consult the file "CYGWIN_LICENSE" for
- details. */
+This software is a copyrighted work licensed under the terms of the
+Cygwin license. Please consult the file "CYGWIN_LICENSE" for
+details. */
#ifdef HAVE_CONFIG_H
# include "config.h"
@@ -16,6 +16,15 @@
#error "woutsup.h is not for code being compiled inside the dll"
#endif
+#ifndef _WIN32_WINNT
+#define _WIN32_WINNT 0x0500
+#endif
+
+#if _WIN32_WINNT < 0x0500
+#undef _WIN32_WINNT
+#define _WIN32_WINNT 0x0500
+#endif
+
#define WIN32_LEAN_AND_MEAN 1
#define _WINGDI_H
#define _WINUSER_H