summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/include/features.h
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2011-01-24 16:27:35 +0000
committerCorinna Vinschen <corinna@vinschen.de>2011-01-24 16:27:35 +0000
commitcd06f7049bffc71564f365ce6bcbb921a099fbf7 (patch)
treedd40f0bb8e0f7b5453d856786afd797759582628 /winsup/cygwin/include/features.h
parent5623c499514738dfe474cf2ee5da6b30a38b7505 (diff)
downloadcygnal-cd06f7049bffc71564f365ce6bcbb921a099fbf7.tar.gz
cygnal-cd06f7049bffc71564f365ce6bcbb921a099fbf7.tar.bz2
cygnal-cd06f7049bffc71564f365ce6bcbb921a099fbf7.zip
* include/features.h (__STDC_ISO_10646__): Define. Add comment.
Diffstat (limited to 'winsup/cygwin/include/features.h')
-rw-r--r--winsup/cygwin/include/features.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/include/features.h b/winsup/cygwin/include/features.h
index 4b0b5f945..d2ff1c41b 100644
--- a/winsup/cygwin/include/features.h
+++ b/winsup/cygwin/include/features.h
@@ -1,6 +1,6 @@
/* features.h
- Copyright 2001, 2002, 2003, 2004 Red Hat, Inc.
+ Copyright 2001, 2002, 2003, 2004, 2011 Red Hat, Inc.
This file is part of Cygwin.
@@ -32,4 +32,9 @@ details. */
includes _BSD_SOURCE, _XOPEN_SOURCE and _POSIX_SOURCE.
*/
+/* The value corresponds to UNICODE version 4.0, which is the version
+ supported by XP. Newlib supports 5.2 (2011) but so far we need the
+ MS conversions for double-byte charsets. */
+#define __STDC_ISO_10646__ 200305L
+
#endif /* _FEATURES_H */