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 | 986b4f74b8165271b7eaa99e0ee0dfe0c745a7a2 (patch) | |
tree | be1f6dc93294f307d2423f5c77f2bcd0663833a8 /osdep.h | |
parent | 641e5698554145fde46a4fb9fe10b5047817e738 (diff) | |
download | qemu-986b4f74b8165271b7eaa99e0ee0dfe0c745a7a2.tar.gz qemu-986b4f74b8165271b7eaa99e0ee0dfe0c745a7a2.tar.bz2 qemu-986b4f74b8165271b7eaa99e0ee0dfe0c745a7a2.zip |
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 |