Browse Source

* libc/include/sys/features.h: Define __STDC_ISO_10646__ for Cygwin.

* libc/include/wchar.h: Include features.h.
cv-post-1_7_9
Corinna Vinschen 15 years ago
parent
commit
7cc6d7cfc6
  1. 5
      newlib/ChangeLog
  2. 6
      newlib/libc/include/sys/features.h
  3. 3
      newlib/libc/include/wchar.h

5
newlib/ChangeLog

@ -1,3 +1,8 @@
2011-01-27 Corinna Vinschen <vinschen@redhat.com>
* libc/include/sys/features.h: Define __STDC_ISO_10646__ for Cygwin.
* libc/include/wchar.h: Include features.h.
2011-01-15 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
* libc/include/sys/types.h (ulong): Add typedef.

6
newlib/libc/include/sys/features.h

@ -178,6 +178,12 @@ extern "C" {
/* #define _XOPEN_UNIX -1 */
#endif /* !__STRICT_ANSI__ || __cplusplus || __STDC_VERSION__ >= 199901L */
/* The value corresponds to UNICODE version 4.0, which is the version
supported by XP. Newlib supports 5.2 (2011) but so far Cygwin needs
the MS conversions for double-byte charsets. */
#define __STDC_ISO_10646__ 200305L
#endif /* __CYGWIN__ */
/* Per the permission given in POSIX.1-2008 section 2.2.1, define

3
newlib/libc/include/wchar.h

@ -16,6 +16,9 @@
/* For _mbstate_t definition. */
#include <sys/_types.h>
/* For __STDC_ISO_10646__ */
#include <sys/features.h>
#ifndef NULL
#define NULL 0
#endif

Loading…
Cancel
Save