about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-04-25 08:30:00 +0000
committerUlrich Drepper <drepper@redhat.com>2009-04-25 08:30:00 +0000
commitc163ee23e05c78cf48000d9163209faa5442c1ec (patch)
tree61b4a4fc2685b0ce859a7461e3618726a5c124fe
parente971e76d8d248ce128641983e90b7cf6e81f2e4e (diff)
downloadglibc-c163ee23e05c78cf48000d9163209faa5442c1ec.tar.gz
glibc-c163ee23e05c78cf48000d9163209faa5442c1ec.tar.xz
glibc-c163ee23e05c78cf48000d9163209faa5442c1ec.zip
* include/features.h: _POSIX_C_SOURCE >= 200112L implies C99.
-rw-r--r--ChangeLog2
-rw-r--r--include/features.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 26cb92cc00..d26396ccfd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2009-04-25  Ulrich Drepper  <drepper@redhat.com>
 
+	* include/features.h: _POSIX_C_SOURCE >= 200112L implies C99.
+
 	* sysdeps/ieee754/k_standard.c (__kernel_standard): Pole errors
 	for lgamma should se errno to ERANGE, not EDOM.
 	* math/libm-test.inc (lgamma_test): Check errno for pole errors.
diff --git a/include/features.h b/include/features.h
index a696d8b59c..f7edc14aed 100644
--- a/include/features.h
+++ b/include/features.h
@@ -230,6 +230,8 @@
 
 #if (_POSIX_C_SOURCE - 0) >= 200112L
 # define __USE_XOPEN2K		1
+# undef __USE_ISOC99
+# define __USE_ISOC99		1
 #endif
 
 #if (_POSIX_C_SOURCE - 0) >= 200809L