From 925e31d9c22c5cdf1d80d9a5683523efc729cfd1 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 1 Aug 2000 22:53:40 +0000 Subject: Update. 2000-08-01 Ulrich Drepper Joseph S. Myers * math/tgmath.h: Make standard compliant. Don't ask how. 2000-07-04 H.J. Lu * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)): Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new". ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only. 2000-07-30 Maciej W. Rozycki * include/features.h (_XOPEN_SOURCE): Update the explanation. (__USE_LARGEFILE): Add an explanation. (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500. (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600. 2000-08-01 Ulrich Drepper * libio/Makefile: Enable exception handling for genops, wgenops, fileops, and wfileops. --- include/features.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/features.h b/include/features.h index 96ac7e5f75..6e3a8763b3 100644 --- a/include/features.h +++ b/include/features.h @@ -29,7 +29,8 @@ if >=199309L, add IEEE Std 1003.1b-1993; if >=199506L, add IEEE Std 1003.1c-1995 _XOPEN_SOURCE Includes POSIX and XPG things. Set to 500 if - Single Unix conformance is wanted. + Single Unix conformance is wanted, to 600 for the + upcoming sixth revision. _XOPEN_SOURCE_EXTENDED XPG things and X/Open Unix extensions. _LARGEFILE_SOURCE Some more functions for correct standard I/O. _LARGEFILE64_SOURCE Additional functionality from LFS for large files. @@ -57,7 +58,8 @@ __USE_XOPEN Define XPG things. __USE_XOPEN_EXTENDED Define X/Open Unix things. __USE_UNIX98 Define Single Unix V2 things. - __USE_XOPEN2K Define XPG6 things + __USE_XOPEN2K Define XPG6 things. + __USE_LARGEFILE Define correct standard I/O things. __USE_LARGEFILE64 Define LFS things with separate names. __USE_FILE_OFFSET64 Define 64bit interface as default. __USE_BSD Define 4.3BSD things. @@ -162,7 +164,7 @@ #if (!defined __STRICT_ANSI__ && !defined _POSIX_SOURCE && \ !defined _POSIX_C_SOURCE) # define _POSIX_SOURCE 1 -# if defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) != 500 +# if defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) < 500 # define _POSIX_C_SOURCE 2 # else # define _POSIX_C_SOURCE 199506L @@ -192,7 +194,7 @@ # define __USE_UNIX98 1 # undef _LARGEFILE_SOURCE # define _LARGEFILE_SOURCE 1 -# if (_XOPEN_SOURCE - 0) == 600 +# if (_XOPEN_SOURCE - 0) >= 600 # define __USE_XOPEN2K 1 # endif # else -- cgit v1.2.3