mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-18 15:09:32 +08:00
2007-12-19 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/features.h: Add checks for C90 compilers using -ansi.
This commit is contained in:
parent
7f9b49e427
commit
41e94f2488
@ -1,3 +1,8 @@
|
||||
2007-12-19 Jeff Johnston <jjohnstn@redhat.com>
|
||||
|
||||
* libc/include/sys/features.h: Add checks for C90 compilers using
|
||||
-ansi.
|
||||
|
||||
2007-12-19 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* libc/include/wchar.h: Add prototypes for wcpcpy and wcpncpy.
|
||||
|
@ -81,6 +81,8 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef __CYGWIN__
|
||||
|
||||
#if !defined(__STRICT_ANSI__) || defined(__cplusplus) || __STDC_VERSION__ >= 199901L
|
||||
#define _POSIX_VERSION 200112L
|
||||
#define _POSIX2_VERSION 200112L
|
||||
#define _XOPEN_VERSION 600
|
||||
@ -164,7 +166,8 @@ extern "C" {
|
||||
/* #define _XOPEN_STREAMS -1 */
|
||||
/* #define _XOPEN_UNIX -1 */
|
||||
|
||||
#endif
|
||||
#endif /* !__STRICT_ANSI__ || __cplusplus || __STDC_VERSION__ >= 199901L */
|
||||
#endif /* __CYGWIN__ */
|
||||
|
||||
#ifdef __SPU__
|
||||
/* Not much for now! */
|
||||
|
Loading…
x
Reference in New Issue
Block a user