summaryrefslogtreecommitdiffstats
path: root/defines.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-05-09 00:38:19 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-05-09 00:38:19 +0000
commit6aebb340fb7a9f2a2184482b9088ef57c83e1a5f (patch)
treefad933d05fe6c9b290f88d6b3fcd5ede20b4719e /defines.h
parent56b9d459ff99643b2f607e1f156690c9077bfc1a (diff)
- (bal) Updates from the Sony NEWS-OS platform by NAKAJI Hiroyuki
<nakaji@tutrp.tut.ac.jp>
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/defines.h b/defines.h
index c40096d3..ebe8812a 100644
--- a/defines.h
+++ b/defines.h
@@ -1,7 +1,7 @@
#ifndef _DEFINES_H
#define _DEFINES_H
-/* $Id: defines.h,v 1.62 2001/04/05 17:15:08 stevesk Exp $ */
+/* $Id: defines.h,v 1.63 2001/05/09 00:38:21 mouring Exp $ */
/* Some platforms need this for the _r() functions */
#if !defined(_REENTRANT) && !defined(SNI)
@@ -92,8 +92,12 @@ enum
#endif
#ifndef NGROUPS_MAX /* Disable groupaccess if NGROUP_MAX is not set */
+#ifdef NGROUPS
+#define NGROUPS_MAX NGROUPS
+#else
#define NGROUPS_MAX 0
#endif
+#endif
#ifndef O_NONBLOCK /* Non Blocking Open */
# define O_NONBLOCK 00004