summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2000-07-24 19:46:27 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2000-07-24 19:46:27 (GMT)
commit12d86c8240c1b71d39f8cb2892931cf46af43032 (patch)
tree24f35c2665fbcccd077afc961b7202929242a69c /Mac
parentbc66f950e8366915308b1921a3b6fc66629b30b1 (diff)
downloadcpython-12d86c8240c1b71d39f8cb2892931cf46af43032.zip
cpython-12d86c8240c1b71d39f8cb2892931cf46af43032.tar.gz
cpython-12d86c8240c1b71d39f8cb2892931cf46af43032.tar.bz2
Declare fileno() with prototype if USE_GUSI2 defined. This isn't really the right place, but it will have to do for now.
Diffstat (limited to 'Mac')
-rw-r--r--Mac/mwerks/mwerks_nonshared_config.h5
-rw-r--r--Mac/mwerks/mwerks_shared_config.h5
2 files changed, 10 insertions, 0 deletions
diff --git a/Mac/mwerks/mwerks_nonshared_config.h b/Mac/mwerks/mwerks_nonshared_config.h
index cd37ce6..acae953 100644
--- a/Mac/mwerks/mwerks_nonshared_config.h
+++ b/Mac/mwerks/mwerks_nonshared_config.h
@@ -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
diff --git a/Mac/mwerks/mwerks_shared_config.h b/Mac/mwerks/mwerks_shared_config.h
index becd670..67cc9d7 100644
--- a/Mac/mwerks/mwerks_shared_config.h
+++ b/Mac/mwerks/mwerks_shared_config.h
@@ -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