From d20f21a2154de2960b13a67a6acfb78cc7cde13e Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 22 Apr 2001 06:21:54 +0000 Subject: Update. * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_* values. * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values. * posix/confstr.c: Handle _CS_POSIX_V6_* values. * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values. * sysdeps/posix/sysconf.c: Handle _SC_V6_* values. --- sysdeps/posix/sysconf.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'sysdeps/posix/sysconf.c') diff --git a/sysdeps/posix/sysconf.c b/sysdeps/posix/sysconf.c index 7faaa51..4b6eced 100644 --- a/sysdeps/posix/sysconf.c +++ b/sysdeps/posix/sysconf.c @@ -798,6 +798,31 @@ __sysconf (name) return -1; #endif + case _SC_V6_ILP32_OFF32: +#ifdef _POSIX_V6_ILP32_OFF32 + return _POSIX_V6_ILP32_OFF32; +#else + return -1; +#endif + case _SC_V6_ILP32_OFFBIG: +#ifdef _POSIX_V6_ILP32_OFFBIG + return _POSIX_V6_ILP32_OFFBIG; +#else + return -1; +#endif + case _SC_V6_LP64_OFF64: +#ifdef _POSIX_V6_LP64_OFF64 + return _POSIX_V6_LP64_OFF64; +#else + return -1; +#endif + case _SC_V6_LPBIG_OFFBIG: +#ifdef _POSIX_V6_LPBIG_OFFBIG + return _POSIX_V6_LPBIG_OFFBIG; +#else + return -1; +#endif + case _SC_XOPEN_LEGACY: return _XOPEN_LEGACY; -- cgit v1.1