tcg: Rearrange definitions and include statements
authorStefan Weil <sw@weilnetz.de>
Fri, 2 Mar 2012 22:30:03 +0000 (23:30 +0100)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 3 Mar 2012 18:10:17 +0000 (18:10 +0000)
This change makes tcg_target_ulong available in tcg-target.h.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
tcg/tcg.h

index 5c282396822a7c9e797ec1de5e8d128ba8540d93..cc223ea54095eaf90852e77aef4032cfc8b993e0 100644 (file)
--- 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
This page took 0.029438 seconds and 4 git commands to generate.