From dfc3de131c349a8677d4d4b885dc27f2b2f73567 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Fri, 1 Aug 2008 16:21:16 +0200 Subject: Make ngIRCd compile and run on NeXTSTEP 3.3 and OPENSTEP 4.2 by Steven D. Blackford : "I wanted to let you know that I've done a quick port of ngircd-0.12.0 for NEXTSTEP3.3/OPENSTEP4.2. There wasn't a lot of changes required to get it to compile clean, but I did make the necessary changes so that I didn't have to use -posix flag. The NeXT has a pretty buggy POSIX implementation so I always try to work around it. :-) Anway, here's the changes required to get it to compile." --- src/portab/portab.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/portab/portab.h') diff --git a/src/portab/portab.h b/src/portab/portab.h index 83e11313..56d4249b 100644 --- a/src/portab/portab.h +++ b/src/portab/portab.h @@ -99,6 +99,14 @@ typedef unsigned char bool; #endif #endif +#ifdef NeXT +#define S_IRUSR 0000400 /* read permission, owner */ +#define S_IWUSR 0000200 /* write permission, owner */ +#define S_IRGRP 0000040 /* read permission, group */ +#define S_IROTH 0000004 /* read permission, other */ +#define ssize_t int +#endif + #undef GLOBAL #define GLOBAL -- cgit 1.4.1