mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Declare fileno() with prototype if USE_GUSI2 defined. This isn't really the right place, but it will have to do for now.
This commit is contained in:
parent
bc66f950e8
commit
12d86c8240
2 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue