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:59 +0100 |
| commit | b87bfedf65c289bf0ee5338c9e10492b70b1e8e0 (patch) | |
| tree | 906ba5d55d6993f59d7bb1def63d494bafd38728 /group.h | |
| parent | 5556dde4d3ad4e34267320b1411fc090b18a24b0 (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 |