summaryrefslogtreecommitdiff
path: root/wcsmbs
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2012-01-21 15:20:14 -0500
committerUlrich Drepper <drepper@gmail.com>2012-01-21 15:20:14 -0500
commitd220b1177777a2cd00d1b1eae62e1071a17ab46b (patch)
treeb6249d522cf1e3eaecb267d457f991b280c715f0 /wcsmbs
parent3e1aa84e7f9f38815f5db9cd7654b1a9497cf6e4 (diff)
downloadglibc-d220b1177777a2cd00d1b1eae62e1071a17ab46b.tar.gz
Fix version check in uchar.h
Diffstat (limited to 'wcsmbs')
-rw-r--r--wcsmbs/uchar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wcsmbs/uchar.h b/wcsmbs/uchar.h
index ba36ef9bbc..3056c76365 100644
--- a/wcsmbs/uchar.h
+++ b/wcsmbs/uchar.h
@@ -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"