]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Declare fileno() with prototype if USE_GUSI2 defined. This isn't really the right...
authorJack Jansen <jack.jansen@cwi.nl>
Mon, 24 Jul 2000 19:46:27 +0000 (19:46 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Mon, 24 Jul 2000 19:46:27 +0000 (19:46 +0000)
Mac/mwerks/mwerks_nonshared_config.h
Mac/mwerks/mwerks_shared_config.h

index cd37ce62bc18536993e4c6c07113b5ca6c6449f9..acae953364a66849ad1a8e091fb77f0afabd41bf 100644 (file)
@@ -30,3 +30,8 @@
 #define MSL_USE_PRECOMPILED_HEADERS 0  /* Don't use precomp headers: we include our own */
 #include <ansi_prefix.mac.h>
 #endif
+/* Missing declarations. Should these go to pyport.h? */
+#ifdef USE_GUSI2
+#include <stdio.h>
+extern int fileno(FILE *);
+#endif
index becd67051dd85b3162877bbeb200a7bf75b25ab7..67cc9d7f0ba426221585307e3a39d66ef50e766a 100644 (file)
@@ -35,3 +35,8 @@
 #define MSL_USE_PRECOMPILED_HEADERS 0  /* Don't use precomp headers: we include our own */
 #include <ansi_prefix.mac.h>
 #endif
+/* Missing declarations. Should these go to pyport.h? */
+#ifdef USE_GUSI2
+#include <stdio.h>
+extern int fileno(FILE *);
+#endif