]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/portab/portab.h
Make ngIRCd compile and run on NeXTSTEP 3.3 and OPENSTEP 4.2
[ngircd-alex.git] / src / portab / portab.h
index 83e11313d4ae3aa1ff555cd40ecf6eee1d40b514..56d4249b7509376144cde84524f29695b28c3ef2 100644 (file)
@@ -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