summaryrefslogtreecommitdiffstats
path: root/Mac/Include
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1996-02-14 16:02:30 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1996-02-14 16:02:30 (GMT)
commitc743c8d1663c57bf0b16d88c886f2e64ae64a8e5 (patch)
tree6063e002e426cad44d6ef383ac9e7ab01ba716b0 /Mac/Include
parentb852b74c71fd029c4e78bf16c7b910e576027249 (diff)
downloadcpython-c743c8d1663c57bf0b16d88c886f2e64ae64a8e5.zip
cpython-c743c8d1663c57bf0b16d88c886f2e64ae64a8e5.tar.gz
cpython-c743c8d1663c57bf0b16d88c886f2e64ae64a8e5.tar.bz2
Modified for GUSI
Diffstat (limited to 'Mac/Include')
-rw-r--r--Mac/Include/config.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/Mac/Include/config.h b/Mac/Include/config.h
index c00e4e6..4fd79ec 100644
--- a/Mac/Include/config.h
+++ b/Mac/Include/config.h
@@ -13,8 +13,21 @@
#define HAVE_FOPENRF
#endif
#ifdef __MWERKS__
+#ifndef USE_GUSI
#define HAVE_FOPENRF
#endif
+#endif
+
+#ifdef USE_GUSI
+/* GUSI provides a lot of unixisms */
+#define HAVE_SELECT
+#define DIRENT
+#define HAVE_GETPEERNAME
+#define HAVE_SELECT
+#define HAVE_FCNTL_H
+#define HAVE_SYS_TIME_H
+#define HAVE_UNISTD_H
+#endif
#ifdef SYMANTEC__CFM68K__
#define atof Py_AtoF