diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-11-19 01:31:52 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-11-19 01:31:52 +0000 |
commit | 3dec6ecd31f141ea21c8490fce234e6f6edcee6e (patch) | |
tree | be1f6dc93294f307d2423f5c77f2bcd0663833a8 /osdep.h | |
parent | b25cf5893f5ad07c2b8eada28250fc9cb8fb7e2a (diff) |
Only force inlining when optimizing.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5751 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'osdep.h')
-rw-r--r-- | osdep.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -48,8 +48,10 @@ #define always_inline inline #else #define always_inline __attribute__ (( always_inline )) __inline__ +#ifdef __OPTIMIZE__ #define inline always_inline #endif +#endif #else #define inline always_inline #endif |