From: Stefan Weil Date: Fri, 2 Mar 2012 22:30:03 +0000 (+0100) Subject: tcg: Rearrange definitions and include statements X-Git-Tag: v1.1-rc0~281 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c38bb94a995fd4b7f92ff933c19c1a1ffbe9df5b;p=thirdparty%2Fqemu.git tcg: Rearrange definitions and include statements This change makes tcg_target_ulong available in tcg-target.h. Signed-off-by: Stefan Weil Signed-off-by: Blue Swirl --- diff --git a/tcg/tcg.h b/tcg/tcg.h index 5c282396822..cc223ea5409 100644 --- a/tcg/tcg.h +++ b/tcg/tcg.h @@ -32,9 +32,6 @@ # error Unknown pointer size for tcg target #endif -#include "tcg-target.h" -#include "tcg-runtime.h" - #if TCG_TARGET_REG_BITS == 32 typedef int32_t tcg_target_long; typedef uint32_t tcg_target_ulong; @@ -49,6 +46,9 @@ typedef uint64_t tcg_target_ulong; #error unsupported #endif +#include "tcg-target.h" +#include "tcg-runtime.h" + #if TCG_TARGET_NB_REGS <= 32 typedef uint32_t TCGRegSet; #elif TCG_TARGET_NB_REGS <= 64