aboutsummaryrefslogtreecommitdiff
path: root/osdep.h
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-06-05 22:55:54 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-06-05 22:55:54 +0000
commitcebdff772d6af6a65bf799cbbf68f86d97025495 (patch)
tree89ce7eea8483a94ac300c6d59171dc27f12cad2a /osdep.h
parent5452adbee0fb19f2d0662e055e72c4128bcfb976 (diff)
Fix always_inline definition for Darwin, by Andreas Faerber.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4674 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'osdep.h')
-rw-r--r--osdep.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/osdep.h b/osdep.h
index 62de457048..a32242e07a 100644
--- a/osdep.h
+++ b/osdep.h
@@ -35,9 +35,11 @@
#define always_inline inline
#else
#define always_inline __attribute__ (( always_inline )) __inline__
+#define inline always_inline
#endif
-#endif
+#else
#define inline always_inline
+#endif
#ifdef __i386__
#define REGPARM __attribute((regparm(3)))