aboutsummaryrefslogtreecommitdiffstats
path: root/target-i386/exec.h
diff options
context:
space:
mode:
Diffstat (limited to 'target-i386/exec.h')
-rw-r--r--target-i386/exec.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/target-i386/exec.h b/target-i386/exec.h
index d194f89..5d04b7f 100644
--- a/target-i386/exec.h
+++ b/target-i386/exec.h
@@ -29,11 +29,7 @@
#include "cpu-defs.h"
-/* Xcode 4.3 doesn't support global register variables */
-#if !defined(__APPLE_CC__) || __APPLE_CC__ < 5621
- register
-#endif
-struct CPUX86State *env asm(AREG0);
+GLOBAL_REGISTER_VARIABLE_DECL struct CPUX86State *env asm(AREG0);
#include "qemu-common.h"
#include "qemu-log.h"