From d7fc4c6250867f42273468be715eb58d5c9a2ad0 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 29 Nov 2002 01:45:10 +0000 Subject: Define macros which require it to 200112L. Remove _POSIX_POLL and _POSIX_SELECT. --- sysdeps/unix/sysv/linux/bits/posix_opt.h | 30 ++++++++++++------------------ 1 file changed, 12 insertions(+), 18 deletions(-) (limited to 'sysdeps/unix/sysv/linux/bits') diff --git a/sysdeps/unix/sysv/linux/bits/posix_opt.h b/sysdeps/unix/sysv/linux/bits/posix_opt.h index 6a4be797b3..00a95c0521 100644 --- a/sysdeps/unix/sysv/linux/bits/posix_opt.h +++ b/sysdeps/unix/sysv/linux/bits/posix_opt.h @@ -1,5 +1,5 @@ /* Define POSIX options for Linux. - Copyright (C) 1996, 1997, 1999, 2000 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 1999, 2000, 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -31,31 +31,25 @@ #define _POSIX_SAVED_IDS 1 /* Priority scheduling is supported. */ -#define _POSIX_PRIORITY_SCHEDULING 1 +#define _POSIX_PRIORITY_SCHEDULING 200112L /* Synchronizing file data is supported. */ -#define _POSIX_SYNCHRONIZED_IO 1 +#define _POSIX_SYNCHRONIZED_IO 200112L /* The fsync function is present. */ -#define _POSIX_FSYNC 1 +#define _POSIX_FSYNC 200112L /* Mapping of files to memory is supported. */ -#define _POSIX_MAPPED_FILES 1 +#define _POSIX_MAPPED_FILES 200112L /* Locking of all memory is supported. */ -#define _POSIX_MEMLOCK 1 +#define _POSIX_MEMLOCK 200112L /* Locking of ranges of memory is supported. */ -#define _POSIX_MEMLOCK_RANGE 1 +#define _POSIX_MEMLOCK_RANGE 200112L /* Setting of memory protections is supported. */ -#define _POSIX_MEMORY_PROTECTION 1 - -/* Implementation supports `poll' function. */ -#define _POSIX_POLL 1 - -/* Implementation supports `select' and `pselect' functions. */ -#define _POSIX_SELECT 1 +#define _POSIX_MEMORY_PROTECTION 200112L /* Only root can change owner of file. */ #define _POSIX_CHOWN_RESTRICTED 1 @@ -74,7 +68,7 @@ #define _XOPEN_SHM 1 /* Real-time signals are supported. */ -#define _POSIX_REALTIME_SIGNALS 1 +#define _POSIX_REALTIME_SIGNALS 200112L /* The LFS interface is available, except for the asynchronous I/O. */ #define _LFS_LARGEFILE 1 @@ -82,10 +76,10 @@ #define _LFS64_STDIO 1 /* POSIX timers are available. */ -#define _POSIX_TIMERS 1 +#define _POSIX_TIMERS 200112L /* POSIX shared memory objects are implemented. */ -#define _POSIX_SHARED_MEMORY_OBJECTS 1 +#define _POSIX_SHARED_MEMORY_OBJECTS 200112L /* GNU libc provides regular expression handling. */ #define _POSIX_REGEXP 1 @@ -94,6 +88,6 @@ #define _POSIX_SHELL 1 /* The `spawn' function family is supported. */ -#define _POSIX_SPAWN 200912L +#define _POSIX_SPAWN 200112L #endif /* bits/posix_opt.h */ -- cgit v1.2.3