mirror of https://gitee.com/openkylin/qemu.git
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:
parent
b25cf5893f
commit
3dec6ecd31
2
osdep.h
2
osdep.h
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue