From 91bc38d09ce2df68d5f03e88df144243907437da Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 14 Aug 2000 04:57:27 +0000 Subject: Update. 2000-08-12 Andreas Jaeger * include/features.h (__STDC_ISO_10646__): Define. Reported by Markus Kuhn . * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600. * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not for revision 6 and up). * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before including . * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined to get definitions of just these types. * signal/signal.h: Define thread signal handling functions also for POSIX95. * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for POSIX95. * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise. * sysvipc/sys/shm.h: Define pid_t for XPG. * wcsmbs/wchar.h: Make the various wide char string and stream functions available for the respective XPG versions. --- include/features.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/features.h b/include/features.h index 6e3a8763b3..bbf03f0692 100644 --- a/include/features.h +++ b/include/features.h @@ -196,6 +196,8 @@ # define _LARGEFILE_SOURCE 1 # if (_XOPEN_SOURCE - 0) >= 600 # define __USE_XOPEN2K 1 +# undef __USE_ISOC99 +# define __USE_ISOC99 1 # endif # else # ifdef _XOPEN_SOURCE_EXTENDED @@ -240,6 +242,9 @@ #define __STDC_IEC_559__ 1 #define __STDC_IEC_559_COMPLEX__ 1 +/* wchar_t uses Unicode 3.0. */ +#define __STDC_ISO_10646__ 200001L + /* This macro indicates that the installed library is the GNU C Library. For historic reasons the value now is 6 and this will stay from now on. The use of this variable is deprecated. Use __GLIBC__ and -- cgit v1.2.3