Use __sFILE to typedef for _BSD.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2585 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
663e8e5164
commit
cce1075c76
@ -78,7 +78,11 @@ typedef void * host_reg_t;
|
||||
#define UINT32_MAX (4294967295U)
|
||||
#define UINT64_MAX ((uint64_t)(18446744073709551615))
|
||||
|
||||
#ifdef _BSD
|
||||
typedef struct __sFILE FILE;
|
||||
#else
|
||||
typedef struct FILE FILE;
|
||||
#endif
|
||||
extern int fprintf(FILE *, const char *, ...);
|
||||
extern int fputs(const char *, FILE *);
|
||||
extern int printf(const char *, ...);
|
||||
|
Loading…
Reference in New Issue
Block a user