summaryrefslogtreecommitdiffstats
path: root/Mac/mwerks/mwerks_nonshared_config.h
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/mwerks/mwerks_nonshared_config.h
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/mwerks/mwerks_nonshared_config.h')
-rw-r--r--Mac/mwerks/mwerks_nonshared_config.h5
1 files changed, 5 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