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
path: root/winsup
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2006-05-14 22:32:57 +0400
committerChristopher Faylor <me@cgf.cx>2006-05-14 22:32:57 +0400
commita9e36321fda82e1f565f2291a2fc4eaf97de4fc6 (patch)
tree39033c3dfe73bacd085947af19e3daf9e2e95a93 /winsup
parent372e55957e9e6c8b7491dc8bd1ffe4853927f086 (diff)
* ntdll.h (STATUS_INVALID_INFO_CLASS): Conditionalize.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/ntdll.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index d257b4451..f8ff92e3a 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+2006-05-13 Christopher Faylor <cgf@timesys.com>
+
+ * ntdll.h (STATUS_INVALID_INFO_CLASS): Conditionalize.
+
2006-05-10 Brian Dessent <brian@dessent.net>
* Makefile.in (clean): Also delete *.dbg.
diff --git a/winsup/cygwin/ntdll.h b/winsup/cygwin/ntdll.h
index 265f308f6..ff5f0c93a 100644
--- a/winsup/cygwin/ntdll.h
+++ b/winsup/cygwin/ntdll.h
@@ -8,7 +8,11 @@
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */
+#ifndef STATUS_INVALID_INFO_CLASS
+/* Some w32api header file defines this so we need to conditionalize this
+ define to avoid warnings. */
#define STATUS_INVALID_INFO_CLASS ((NTSTATUS) 0xc0000003)
+#endif
#define STATUS_INFO_LENGTH_MISMATCH ((NTSTATUS) 0xc0000004)
#define STATUS_INVALID_PARAMETER ((NTSTATUS) 0xc000000d)
#define STATUS_BUFFER_TOO_SMALL ((NTSTATUS) 0xc0000023)