diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-02 12:39:43 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-02 12:39:43 +0000 |
commit | cce1075c767d5804e44e65513625a419296939ee (patch) | |
tree | 87d46d2d04427cdf00fbbf5a9273d2b81ce87566 /dyngen-exec.h | |
parent | 663e8e5164e0f9ad38e12d91de89d553d89060d2 (diff) |
Use __sFILE to typedef for _BSD.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2585 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'dyngen-exec.h')
-rw-r--r-- | dyngen-exec.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dyngen-exec.h b/dyngen-exec.h index c63eb265db..69c3cd99cf 100644 --- a/dyngen-exec.h +++ b/dyngen-exec.h @@ -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 *, ...); |