From 3dec6ecd31f141ea21c8490fce234e6f6edcee6e Mon Sep 17 00:00:00 2001 From: pbrook Date: Wed, 19 Nov 2008 01:31:52 +0000 Subject: Only force inlining when optimizing. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5751 c046a42c-6fe2-441c-8c8c-71466251a162 --- osdep.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'osdep.h') diff --git a/osdep.h b/osdep.h index 87f024b127..9cdfb2c1ce 100644 --- a/osdep.h +++ b/osdep.h @@ -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 -- cgit v1.2.3