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>2000-06-22 22:37:31 +0400
committerChristopher Faylor <me@cgf.cx>2000-06-22 22:37:31 +0400
commit42030c97d70b39d55bc09b4f56e255c892df6b13 (patch)
tree7bbff07014b2a34c6f4c6ecc3689775ab123782f /winsup/w32api/include/windef.h
parent699dd00b3a94cdc0f47b98c421d28f8912d50e0a (diff)
* rpcdce.h: Protect OPTIONAL definition since it may be (legally) previously
defined. * windef.h : Ditto.
Diffstat (limited to 'winsup/w32api/include/windef.h')
-rw-r--r--winsup/w32api/include/windef.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/w32api/include/windef.h b/winsup/w32api/include/windef.h
index 433cacfbb..129a9a7d7 100644
--- a/winsup/w32api/include/windef.h
+++ b/winsup/w32api/include/windef.h
@@ -41,7 +41,9 @@ extern "C" {
#endif
#define IN
#define OUT
+#ifndef OPTIONAL
#define OPTIONAL
+#endif
#ifdef __GNUC__
#define PACKED __attribute__((packed))