mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-14 01:00:07 +00:00
Fix version check in uchar.h
This commit is contained in:
parent
3e1aa84e7f
commit
d220b11777
@ -1,3 +1,7 @@
|
|||||||
|
2012-01-21 Ulrich Drepper <drepper@gmail.com>
|
||||||
|
|
||||||
|
* wcsmbs/uchar.h: Test __STDC_VERSION__.
|
||||||
|
|
||||||
2012-01-20 Ulrich Drepper <drepper@gmail.com>
|
2012-01-20 Ulrich Drepper <drepper@gmail.com>
|
||||||
|
|
||||||
* nscd/aicache.c (addhstaiX): Do not cache negative results of
|
* nscd/aicache.c (addhstaiX): Do not cache negative results of
|
||||||
|
@ -44,7 +44,7 @@ __END_NAMESPACE_C99
|
|||||||
/* Define the 16-bit and 32-bit character types. Use the information
|
/* Define the 16-bit and 32-bit character types. Use the information
|
||||||
provided by the compiler. */
|
provided by the compiler. */
|
||||||
# if !defined __CHAR16_TYPE__ || !defined __CHAR32_TYPE__
|
# if !defined __CHAR16_TYPE__ || !defined __CHAR32_TYPE__
|
||||||
# if defined __STDC__ && __STDC__ < 201000L
|
# if defined __STDC_VERSION__ && __STDC_VERSION__ < 201000L
|
||||||
# error "<uchar.h> requires ISO C11 mode"
|
# error "<uchar.h> requires ISO C11 mode"
|
||||||
# else
|
# else
|
||||||
# error "definitions of __CHAR16_TYPE__ and/or __CHAR32_TYPE__ missing"
|
# error "definitions of __CHAR16_TYPE__ and/or __CHAR32_TYPE__ missing"
|
||||||
|
Loading…
Reference in New Issue
Block a user