Commit cce1075c767d5804e44e65513625a419296939ee

Authored by ths
1 parent 663e8e51

Use __sFILE to typedef for _BSD.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2585 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 4 additions and 0 deletions
dyngen-exec.h
@@ -78,7 +78,11 @@ typedef void * host_reg_t; @@ -78,7 +78,11 @@ typedef void * host_reg_t;
78 #define UINT32_MAX (4294967295U) 78 #define UINT32_MAX (4294967295U)
79 #define UINT64_MAX ((uint64_t)(18446744073709551615)) 79 #define UINT64_MAX ((uint64_t)(18446744073709551615))
80 80
  81 +#ifdef _BSD
  82 +typedef struct __sFILE FILE;
  83 +#else
81 typedef struct FILE FILE; 84 typedef struct FILE FILE;
  85 +#endif
82 extern int fprintf(FILE *, const char *, ...); 86 extern int fprintf(FILE *, const char *, ...);
83 extern int fputs(const char *, FILE *); 87 extern int fputs(const char *, FILE *);
84 extern int printf(const char *, ...); 88 extern int printf(const char *, ...);