From d220b1177777a2cd00d1b1eae62e1071a17ab46b Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 21 Jan 2012 15:20:14 -0500 Subject: Fix version check in uchar.h --- wcsmbs/uchar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wcsmbs/uchar.h') 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 " requires ISO C11 mode" # else # error "definitions of __CHAR16_TYPE__ and/or __CHAR32_TYPE__ missing" -- cgit v1.2.1