projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b25cf58
)
Only force inlining when optimizing.
author
pbrook
<pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 19 Nov 2008 01:31:52 +0000
(
01:31
+0000)
committer
pbrook
<pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 19 Nov 2008 01:31:52 +0000
(
01:31
+0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5751
c046a42c
-6fe2-441c-8c8c-
71466251a162
osdep.h
patch
|
blob
|
history
diff --git
a/osdep.h
b/osdep.h
index 87f024b127ce2a75c1d315dff89c69ca0206cb81..9cdfb2c1ce1c337cd9bf9f5cb8b778d9f920e2bf 100644
(file)
--- 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