summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1993-11-01 16:23:18 (GMT)
committerGuido van Rossum <guido@python.org>1993-11-01 16:23:18 (GMT)
commitc70b61fe6d729ddebc536ec273d97f57fa47cd86 (patch)
tree3807a820b226385707ab9c59384a132dd9bf1fbd /Modules
parent2586bf0a3434fc0430b6c16a56ad2b950eabc589 (diff)
downloadcpython-c70b61fe6d729ddebc536ec273d97f57fa47cd86.zip
cpython-c70b61fe6d729ddebc536ec273d97f57fa47cd86.tar.gz
cpython-c70b61fe6d729ddebc536ec273d97f57fa47cd86.tar.bz2
Hacks for NEXTSTEP.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/posixmodule.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 04c17f0..66cb41a 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -39,6 +39,11 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#define DO_PG
#endif
+#ifdef _NEXT_SOURCE
+#define mode_t int
+#define NO_UNAME
+#endif
+
#include <signal.h>
#include <string.h>
#include <setjmp.h>