aboutsummaryrefslogtreecommitdiff
path: root/include/features.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-07-10 20:02:00 +0000
committerUlrich Drepper <drepper@redhat.com>2000-07-10 20:02:00 +0000
commit47a81620adc8c33631bd4b3b8d122c2a17940f8c (patch)
treecc9128904b2033f9184b42a149d434e2d86ed7af /include/features.h
parent8fdc11384ea3bddaaba026c98d21fa608d7d7a1d (diff)
downloadglibc-47a81620adc8c33631bd4b3b8d122c2a17940f8c.tar
glibc-47a81620adc8c33631bd4b3b8d122c2a17940f8c.tar.gz
glibc-47a81620adc8c33631bd4b3b8d122c2a17940f8c.tar.bz2
glibc-47a81620adc8c33631bd4b3b8d122c2a17940f8c.zip
Update.
2000-07-09 Mark Kettenis <kettenis@gnu.org> * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds... * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here. 2000-07-10 Ulrich Drepper <drepper@redhat.com> * include/features.h: Include ISO C99 features if the compiler used is an ISO C99 compiler. Patch by Joseph S. Myers <jsm28@cam.ac.uk>. 2000-07-08 Mark Kettenis <kettenis@gnu.org> * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
Diffstat (limited to 'include/features.h')
-rw-r--r--include/features.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/features.h b/include/features.h
index ab3126cdbf..96ac7e5f75 100644
--- a/include/features.h
+++ b/include/features.h
@@ -152,7 +152,8 @@
which was used prior to the standard acceptance. This macro will
eventually go away and the features enabled by default once the ISO C99
standard is widely adopted. */
-#if defined _ISOC99_SOURCE || defined _ISOC9X_SOURCE
+#if (defined _ISOC99_SOURCE || defined _ISOC9X_SOURCE \
+ || (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L))
# define __USE_ISOC99 1
#endif