update VA_LIST definition for various platforms

Apparently, 64-bit Linux and OS X are the only ones where we must
define VA_LIST(x) as (x) instead of (&x).
This commit is contained in:
Joel Dice 2011-02-07 16:28:17 -07:00
parent 6e79e98d18
commit a63909b818
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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)