This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch, master, updated. glibc-2.15-93-gd220b11
- From: drepper at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 21 Jan 2012 20:20:35 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.15-93-gd220b11
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via d220b1177777a2cd00d1b1eae62e1071a17ab46b (commit)
from 3e1aa84e7f9f38815f5db9cd7654b1a9497cf6e4 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=d220b1177777a2cd00d1b1eae62e1071a17ab46b
commit d220b1177777a2cd00d1b1eae62e1071a17ab46b
Author: Ulrich Drepper <drepper@gmail.com>
Date: Sat Jan 21 15:20:14 2012 -0500
Fix version check in uchar.h
diff --git a/ChangeLog b/ChangeLog
index 1dda738..f0f3017 100644
--- 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
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"
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 4 ++++
wcsmbs/uchar.h | 2 +-
2 files changed, 5 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources