diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-07-02 07:17:15 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-07-02 07:17:15 +0000 |
commit | d2ccd64a7737a12bd16a2ea81ca37f663f62bbd8 (patch) | |
tree | f53c5f31ce94186e9e37972e3d316c4fc2006022 /posix/bits | |
parent | * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: New file. (diff) | |
download | glibc-d2ccd64a7737a12bd16a2ea81ca37f663f62bbd8.tar.gz glibc-d2ccd64a7737a12bd16a2ea81ca37f663f62bbd8.tar.bz2 glibc-d2ccd64a7737a12bd16a2ea81ca37f663f62bbd8.zip |
(_POSIX_NGROUPS_MAX): Define to 8 or 0 depending on selected standard. (NGROUPS_MAX): Define to 8 if not defined.
Diffstat (limited to 'posix/bits')
-rw-r--r-- | posix/bits/posix1_lim.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/posix/bits/posix1_lim.h b/posix/bits/posix1_lim.h index 050fe47fdb..9379d46f44 100644 --- a/posix/bits/posix1_lim.h +++ b/posix/bits/posix1_lim.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1991,92,93,96,98,2000,01,02 Free Software Foundation, Inc. +/* Copyright (C) 1991-1993,96,98,2000,01,02,2003 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 @@ -60,7 +60,11 @@ #define _POSIX_MQ_PRIO_MAX 32 /* Number of simultaneous supplementary group IDs per process. */ -#define _POSIX_NGROUPS_MAX 0 +#ifdef __USE_XOPEN2K +# define _POSIX_NGROUPS_MAX 8 +#else +# define _POSIX_NGROUPS_MAX 0 +#endif /* Number of files one process can have open at once. */ #define _POSIX_OPEN_MAX 16 @@ -135,7 +139,7 @@ The current maximum can be got from `sysconf'. */ #ifndef NGROUPS_MAX -# define NGROUPS_MAX _POSIX_NGROUPS_MAX +# define NGROUPS_MAX 8 #endif #endif /* bits/posix1_lim.h */ |