diff --git a/src/powerpc.h b/src/powerpc.h index fb84daf10a..b109c9dc5a 100644 --- a/src/powerpc.h +++ b/src/powerpc.h @@ -14,7 +14,7 @@ #include "types.h" #include "common.h" -#define VA_LIST(x) (x) +#define VA_LIST(x) (&x) #ifdef __APPLE__ # if __DARWIN_UNIX03 && defined(_STRUCT_PPC_EXCEPTION_STATE) diff --git a/src/x86.h b/src/x86.h index dd291091e3..f393ad8727 100644 --- a/src/x86.h +++ b/src/x86.h @@ -22,7 +22,7 @@ # undef interface #endif -#ifdef PLATFORM_WINDOWS +#if (defined ARCH_x86_32) || (defined PLATFORM_WINDOWS) # define VA_LIST(x) (&x) #else # define VA_LIST(x) (x)