diff options
author | Ulrich Drepper <drepper@redhat.com> | 2007-07-19 17:28:06 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2007-07-19 17:28:06 +0000 |
commit | 087722b8549cc4335c822ed39bf3dda5202093f1 (patch) | |
tree | ca45c157f6672a789266004640d4127c90f8d29b /include | |
parent | b042b023f5b7c023b3edb1d8f5d33dcf8fb41e60 (diff) | |
download | glibc-087722b8549cc4335c822ed39bf3dda5202093f1.tar.gz |
* include/features.h (__USE_ISOC95): New define.
* wcsmbs/wchar.h (fwprintf, fwscanf, wprintf, wscanf, swprintf,
swscanf, vfwprintf, vwprintf, vswprintf, fwide): Define even
for -std=iso9899:199409.
* CONFORMANCE: Remove comments about unsupported AMD1.
Diffstat (limited to 'include')
-rw-r--r-- | include/features.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/features.h b/include/features.h index 0c729e8a3e..7f99741a95 100644 --- a/include/features.h +++ b/include/features.h @@ -56,6 +56,7 @@ header files to decide what to declare or define: __USE_ISOC99 Define ISO C99 things. + __USE_ISOC95 Define ISO C90 AMD1 (C95) things. __USE_POSIX Define IEEE Std 1003.1 things. __USE_POSIX2 Define IEEE Std 1003.2 things. __USE_POSIX199309 Define IEEE Std 1003.1, and .1b things. @@ -90,6 +91,7 @@ /* Undefine everything, so we get a clean slate. */ #undef __USE_ISOC99 +#undef __USE_ISOC95 #undef __USE_POSIX #undef __USE_POSIX2 #undef __USE_POSIX199309 @@ -184,6 +186,12 @@ # define __USE_ISOC99 1 #endif +/* This is to enable the ISO C90 Amendment 1:1995 extension. */ +#if (defined _ISOC99_SOURCE || defined _ISOC9X_SOURCE \ + || (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199409L)) +# define __USE_ISOC95 1 +#endif + /* If none of the ANSI/POSIX macros are defined, use POSIX.1 and POSIX.2 (and IEEE Std 1003.1b-1993 unless _XOPEN_SOURCE is defined). */ #if ((!defined __STRICT_ANSI__ || (_XOPEN_SOURCE - 0) >= 500) && \ |