Skip to content
Snippets Groups Projects
Commit 58cbbe37 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Added fallback for NGROUPS_MAX.

Rev: src/modules/system/system.c:1.52
parent 82fbf617
No related branches found
No related tags found
No related merge requests found
/* /*
* $Id: system.c,v 1.51 1998/05/15 19:25:32 grubba Exp $ * $Id: system.c,v 1.52 1998/05/17 19:28:09 grubba Exp $
* *
* System-call module for Pike * System-call module for Pike
* *
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
#include "system.h" #include "system.h"
#include "global.h" #include "global.h"
RCSID("$Id: system.c,v 1.51 1998/05/15 19:25:32 grubba Exp $"); RCSID("$Id: system.c,v 1.52 1998/05/17 19:28:09 grubba Exp $");
#ifdef HAVE_WINSOCK_H #ifdef HAVE_WINSOCK_H
#include <winsock.h> #include <winsock.h>
#endif #endif
...@@ -67,8 +67,20 @@ RCSID("$Id: system.c,v 1.51 1998/05/15 19:25:32 grubba Exp $"); ...@@ -67,8 +67,20 @@ RCSID("$Id: system.c,v 1.51 1998/05/15 19:25:32 grubba Exp $");
#ifdef HAVE_SYS_STAT_H #ifdef HAVE_SYS_STAT_H
#include <sys/stat.h> #include <sys/stat.h>
#endif /* HAVE_SYS_STAT_H */ #endif /* HAVE_SYS_STAT_H */
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif /* HAVE_SYS_PARAM_H */
#include "dmalloc.h" #include "dmalloc.h"
#ifndef NGROUPS_MAX
#ifdef NGROUPS
#define NGROUPS_MAX NGROUPS
#else /* !NGROUPS */
#define NGROUPS_MAX 256 /* Should be sufficient for most OSs */
#endif /* NGROUPS */
#endif /* !NGROUPS_MAX */
/* /*
* Functions * Functions
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment