]> granicus.if.org Git - python/commitdiff
Fixed to work again without USE_GUSI
authorJack Jansen <jack.jansen@cwi.nl>
Fri, 12 May 2000 21:36:29 +0000 (21:36 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Fri, 12 May 2000 21:36:29 +0000 (21:36 +0000)
Mac/Modules/macmodule.c

index b2849121a5e6a2d2182813b9951df64f3fa5ca0a..c2224f00bd80980d0bb4e5fa53639365e9b6dbe2 100644 (file)
@@ -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__)