mirror of
https://github.com/corda/corda.git
synced 2025-04-19 00:27:13 +00:00
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:
parent
6e79e98d18
commit
a63909b818
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user