diff options
| author | Toby Goodwin <tgoodwin@cygnus.co.uk> | 1997-07-07 00:00:01 +0100 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:22:09 +0100 |
| commit | 671e1e2d1599aa8c5f1010b3fe75c151c56a7403 (patch) | |
| tree | 906ba5d55d6993f59d7bb1def63d494bafd38728 /group.h | |
| parent | a076248389c82276e079756bee26c011b03f70f2 (diff) | |
beta: rc-1.5b2
Diffstat (limited to 'group.h')
| -rw-r--r-- | group.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -0,0 +1,9 @@ +/* Solaris / `gcc -ansi' only defines NGROUPS_MAX in <limits.h> if +_POSIX_C_SOURCE is defined. */ +#define _POSIX_C_SOURCE 1 +#include <limits.h> +#undef _POSIX_C_SOURCE + +#if defined(NGROUPS) && !defined(NGROUPS_MAX) +#define NGROUPS_MAX NGROUPS +#endif |