Only force inlining when optimizing.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5751 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
pbrook 2008-11-19 01:31:52 +00:00
parent b25cf5893f
commit 3dec6ecd31
1 changed files with 2 additions and 0 deletions

View File

@ -48,8 +48,10 @@
#define always_inline inline #define always_inline inline
#else #else
#define always_inline __attribute__ (( always_inline )) __inline__ #define always_inline __attribute__ (( always_inline )) __inline__
#ifdef __OPTIMIZE__
#define inline always_inline #define inline always_inline
#endif #endif
#endif
#else #else
#define inline always_inline #define inline always_inline
#endif #endif