define VA_LIST(x) (&x) on Windows

Each platform and architecture defines the va_list type differently;
on some we can treat it as a pointer and on others we must treat it as
a non-pointer.  Turns out Windows is one of the latter.
This commit is contained in:
Joel Dice 2011-02-02 15:11:34 -07:00
parent 51a1081adc
commit cdb75ef6d7

View File

@ -22,7 +22,11 @@
# undef interface
#endif
#define VA_LIST(x) (x)
#ifdef PLATFORM_WINDOWS
# define VA_LIST(x) (&x)
#else
# define VA_LIST(x) (x)
#endif
#ifdef ARCH_x86_32