fix build on 32-bit platforms

This commit is contained in:
gbeauche 2004-11-10 10:23:38 +00:00
parent a4a6233dab
commit 62f9a4bbba
2 changed files with 0 additions and 10 deletions

View File

@ -31,14 +31,9 @@ register basic_cpu *CPU asm(REG_CPU);
#else
#define CPU ((basic_cpu *)CPUPARAM)
#endif
#if SIZEOF_VOID_P == 8
#define DYNGEN_DEFINE_GLOBAL_REGISTER(REG) \
register uintptr reg_##REG asm(REG_##REG); \
register uint32 REG asm(REG_##REG)
#else
#define DYNGEN_DEFINE_GLOBAL_REGISTER(REG) \
register uint32 REG asm(REG_##REG)
#endif
DYNGEN_DEFINE_GLOBAL_REGISTER(A0);
DYNGEN_DEFINE_GLOBAL_REGISTER(T0);
DYNGEN_DEFINE_GLOBAL_REGISTER(T1);

View File

@ -33,14 +33,9 @@ register struct powerpc_cpu *CPU asm(REG_CPU);
#else
#define CPU ((powerpc_cpu *)CPUPARAM)
#endif
#if SIZEOF_VOID_P == 8
#define DYNGEN_DEFINE_GLOBAL_REGISTER(REG) \
register uintptr reg_##REG asm(REG_##REG); \
register uint32 REG asm(REG_##REG)
#else
#define DYNGEN_DEFINE_GLOBAL_REGISTER(REG) \
register uint32 REG asm(REG_##REG)
#endif
DYNGEN_DEFINE_GLOBAL_REGISTER(A0);
DYNGEN_DEFINE_GLOBAL_REGISTER(T0);
DYNGEN_DEFINE_GLOBAL_REGISTER(T1);