Commit cebdff772d6af6a65bf799cbbf68f86d97025495
1 parent
5452adbe
Fix always_inline definition for Darwin, by Andreas Faerber.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4674 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
2 changed files
with
5 additions
and
1 deletions
host-utils.h
osdep.h
... | ... | @@ -35,9 +35,11 @@ |
35 | 35 | #define always_inline inline |
36 | 36 | #else |
37 | 37 | #define always_inline __attribute__ (( always_inline )) __inline__ |
38 | +#define inline always_inline | |
38 | 39 | #endif |
39 | -#endif | |
40 | +#else | |
40 | 41 | #define inline always_inline |
42 | +#endif | |
41 | 43 | |
42 | 44 | #ifdef __i386__ |
43 | 45 | #define REGPARM __attribute((regparm(3))) | ... | ... |