]> sourceware.org Git - glibc.git/commitdiff
Fix version check in uchar.h
authorUlrich Drepper <drepper@gmail.com>
Sat, 21 Jan 2012 20:20:14 +0000 (15:20 -0500)
committerUlrich Drepper <drepper@gmail.com>
Sat, 21 Jan 2012 20:20:14 +0000 (15:20 -0500)
ChangeLog
wcsmbs/uchar.h

index 1dda738687771650ecb205f5efce27cd7e82c5d8..f0f301706e937d0b3c615d463b3c4fe39e521896 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * nscd/aicache.c (addhstaiX): Do not cache negative results of
index ba36ef9bbc34311f4e8ad8fa92491b03de286894..3056c763652d92e9eff4703ae794673989f4e7ea 100644 (file)
@@ -44,7 +44,7 @@ __END_NAMESPACE_C99
 /* Define the 16-bit and 32-bit character types.  Use the information
    provided by the compiler.  */
 # 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"
 #  else
 #   error "definitions of __CHAR16_TYPE__ and/or __CHAR32_TYPE__ missing"
This page took 0.04788 seconds and 5 git commands to generate.