From 2c538c86c15d597cc875dc926e4e39285c5625df Mon Sep 17 00:00:00 2001 From: David 'Digit' Turner Date: Mon, 10 May 2010 16:48:20 -0700 Subject: Upstream: Use CONFIG_BSD instead of _BSD and HOST_BSD Also fix OS X build, which failed with a link error. Change-Id: Idd63f25dc1f46ea66da5727c7577def34f048c3c --- tcg/i386/tcg-target.h | 4 ++++ tcg/sparc/tcg-target.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'tcg') diff --git a/tcg/i386/tcg-target.h b/tcg/i386/tcg-target.h index 301a5bf..69227c3 100644 --- a/tcg/i386/tcg-target.h +++ b/tcg/i386/tcg-target.h @@ -52,6 +52,10 @@ enum { #define TCG_TARGET_HAS_ext8s_i32 #define TCG_TARGET_HAS_ext16s_i32 #define TCG_TARGET_HAS_rot_i32 +#define TCG_TARGET_HAS_ext8u_i32 +#define TCG_TARGET_HAS_ext16u_i32 + +#define TCG_TARGET_HAS_GUEST_BASE /* Note: must be synced with dyngen-exec.h */ #define TCG_AREG0 TCG_REG_EBP diff --git a/tcg/sparc/tcg-target.h b/tcg/sparc/tcg-target.h index 97f3533..e8f8f65 100644 --- a/tcg/sparc/tcg-target.h +++ b/tcg/sparc/tcg-target.h @@ -95,7 +95,7 @@ enum { /* Note: must be synced with dyngen-exec.h and Makefile.target */ -#ifdef HOST_SOLARIS +#ifdef CONFIG_SOLARIS #define TCG_AREG0 TCG_REG_G2 #define TCG_AREG1 TCG_REG_G3 #define TCG_AREG2 TCG_REG_G4 -- cgit v1.1