diff options
Diffstat (limited to 'target-m68k/cpu-qom.h')
-rw-r--r-- | target-m68k/cpu-qom.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-m68k/cpu-qom.h b/target-m68k/cpu-qom.h index 20e5684552..f4c33b2eb3 100644 --- a/target-m68k/cpu-qom.h +++ b/target-m68k/cpu-qom.h @@ -68,5 +68,6 @@ static inline M68kCPU *m68k_env_get_cpu(CPUM68KState *env) #define ENV_GET_CPU(e) CPU(m68k_env_get_cpu(e)) +#define ENV_OFFSET offsetof(M68kCPU, env) #endif |