projects
/
qemu
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
663e8e5
)
Use __sFILE to typedef for _BSD.
author
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 2 Apr 2007 12:39:43 +0000
(12:39 +0000)
committer
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 2 Apr 2007 12:39:43 +0000
(12:39 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2585
c046a42c
-6fe2-441c-8c8c-
71466251a162
dyngen-exec.h
patch
|
blob
|
history
diff --git
a/dyngen-exec.h
b/dyngen-exec.h
index
c63eb26
..
69c3cd9
100644
(file)
--- 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 *, ...);