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:
ths 2007-04-02 12:39:43 +00:00
parent 663e8e5164
commit cce1075c76

View File

@ -78,7 +78,11 @@ typedef void * host_reg_t;
#define UINT32_MAX (4294967295U) #define UINT32_MAX (4294967295U)
#define UINT64_MAX ((uint64_t)(18446744073709551615)) #define UINT64_MAX ((uint64_t)(18446744073709551615))
#ifdef _BSD
typedef struct __sFILE FILE;
#else
typedef struct FILE FILE; typedef struct FILE FILE;
#endif
extern int fprintf(FILE *, const char *, ...); extern int fprintf(FILE *, const char *, ...);
extern int fputs(const char *, FILE *); extern int fputs(const char *, FILE *);
extern int printf(const char *, ...); extern int printf(const char *, ...);