summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2000-05-12 21:36:29 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2000-05-12 21:36:29 (GMT)
commit12e89e42d8ecf572429d6fa6678082a4a1fde728 (patch)
tree4bad6ce647a1e2a504a8d1c0f9a894b85bff4f21
parent48b486b0540d36cbd27d4bb8b5fe0c3f5cc4254e (diff)
downloadcpython-12e89e42d8ecf572429d6fa6678082a4a1fde728.zip
cpython-12e89e42d8ecf572429d6fa6678082a4a1fde728.tar.gz
cpython-12e89e42d8ecf572429d6fa6678082a4a1fde728.tar.bz2
Fixed to work again without USE_GUSI
-rw-r--r--Mac/Modules/macmodule.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/Mac/Modules/macmodule.c b/Mac/Modules/macmodule.c
index b284912..c2224f0 100644
--- a/Mac/Modules/macmodule.c
+++ b/Mac/Modules/macmodule.c
@@ -68,12 +68,9 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#undef sync
int sync(void);
#else
-#ifdef x__MWERKS__
-#include <unix.h>
-#else
+#define mode_t int
#include <fcntl.h>
#endif
-#endif
/* Optional routines, for some compiler/runtime combinations */
#if defined(USE_GUSI) || !defined(__MWERKS__)