Print this page
8548 want memset_s(3C)
Reviewed by: Robert Mustacchi <rm@joyent.com>
*** 82,92 ****
* compiler that complies with ISO/IEC 9899:1999, other-
* wise known as the C99 standard.
*
* _STDC_C11 Like _STDC_C99 except that the value of __STDC_VERSION__
* is 201112L indicating a compiler that compiles with
! * ISO/IEXC 9899:2011, otherwise known as the C11 standard.
*
* _STRICT_SYMBOLS Used in cases where symbol visibility is restricted
* by the standards, and the user has not explicitly
* relaxed the strictness via __EXTENSIONS__.
*/
--- 82,92 ----
* compiler that complies with ISO/IEC 9899:1999, other-
* wise known as the C99 standard.
*
* _STDC_C11 Like _STDC_C99 except that the value of __STDC_VERSION__
* is 201112L indicating a compiler that compiles with
! * ISO/IEC 9899:2011, otherwise known as the C11 standard.
*
* _STRICT_SYMBOLS Used in cases where symbol visibility is restricted
* by the standards, and the user has not explicitly
* relaxed the strictness via __EXTENSIONS__.
*/
*** 434,444 ****
--- 434,459 ----
#define _NORETURN_KYWD _Noreturn
#else
#define _NORETURN_KYWD
#endif
+ /* ISO/IEC 9899:2011 Annex K */
+ #if !defined(_STRICT_SYMBOLS)
+ #define __EXT1_VISIBLE 1
+ #else
+ #define __EXT1_VISIBLE 0
+ #endif
+ #if defined(__STDC_WANT_LIB_EXT1__)
+ #undef __EXT1_VISIBLE
+ #if __STDC_WANT_LIB_EXT1__
+ #define __EXT1_VISIBLE 1
+ #else
+ #define __EXT1_VISIBLE 0
+ #endif
+ #endif /* __STDC_WANT_LIB_EXT1__ */
+
/*
* The following macro indicates header support for the ANSI C++
* standard. The ISO/IEC designation for this is ISO/IEC FDIS 14882.
*/
#define _ISO_CPP_14882_1998
*** 448,463 ****
* ISO/IEC 9899:1999, Programming Languages - C.
*/
#define _ISO_C_9899_1999
/*
! * The following macro indicates header support for the C99 standard,
* ISO/IEC 9899:2011, Programming Languages - C.
*/
#define _ISO_C_9899_2011
/*
* The following macro indicates header support for DTrace. The value is an
* integer that corresponds to the major version number for DTrace.
*/
#define _DTRACE_VERSION 1
--- 463,484 ----
* ISO/IEC 9899:1999, Programming Languages - C.
*/
#define _ISO_C_9899_1999
/*
! * The following macro indicates header support for the C11 standard,
* ISO/IEC 9899:2011, Programming Languages - C.
*/
#define _ISO_C_9899_2011
/*
+ * The following macro indicates header support for the C11 standard,
+ * ISO/IEC 9899:2011 Annex K, Programming Languages - C.
+ */
+ #undef __STDC_LIB_EXT1__
+
+ /*
* The following macro indicates header support for DTrace. The value is an
* integer that corresponds to the major version number for DTrace.
*/
#define _DTRACE_VERSION 1