aboutsummaryrefslogtreecommitdiff
path: root/translate-op.c
diff options
context:
space:
mode:
authorj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-19 00:38:33 +0000
committerj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-19 00:38:33 +0000
commitdf2542c737ea2f7148136b6525cd56f6fc276d69 (patch)
tree046723d926bcae0d37d696bc073f41f90bf2c999 /translate-op.c
parent8a0ef21949d0606d1510da256ed7d4e9128c5d6d (diff)
Avoid duplicated definitions: move common definitions from exec-all.h
and qemu-common.h to osdep.h. Include this header in translate-op.c. Make sure it's included first in darwin-user/qemu.h. To avoid discarded inlining bug, define inline as always_inline and always_inline as (( attribute (always_inline) )) __inline__. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3698 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'translate-op.c')
-rw-r--r--translate-op.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/translate-op.c b/translate-op.c
index b21a522506..8104e86f22 100644
--- a/translate-op.c
+++ b/translate-op.c
@@ -24,6 +24,7 @@
#include <inttypes.h>
#include "config.h"
+#include "osdep.h"
enum {
#define DEF(s, n, copy_size) INDEX_op_ ## s,