aboutsummaryrefslogtreecommitdiff
path: root/wcsmbs
diff options
context:
space:
mode:
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 ba36ef9..3056c76 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"