From 10ca726752543b1a149a675dcb91abf8d4796fa9 Mon Sep 17 00:00:00 2001 From: Peter Tissen Date: Tue, 8 Apr 2014 21:44:11 +0200 Subject: [PATCH] Remove GCC specific variadic macro syntax --- rpcs3/Emu/SysCalls/SysCalls.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcs3/Emu/SysCalls/SysCalls.h b/rpcs3/Emu/SysCalls/SysCalls.h index 076b6c78f2..56ffd4443d 100644 --- a/rpcs3/Emu/SysCalls/SysCalls.h +++ b/rpcs3/Emu/SysCalls/SysCalls.h @@ -470,8 +470,8 @@ void StaticAnalyse(void* ptr, u32 size, u32 base); void StaticExecute(u32 code); void StaticFinalize(); -#define REG_SUB(module, group, name, args...) \ - static const u64 name ## _table[] = {args, 0}; \ +#define REG_SUB(module, group, name, ...) \ + static const u64 name ## _table[] = {__VA_ARGS__ , 0}; \ module.AddFuncSub(group, name ## _table, #name, name) #define REG_SUB_EMPTY(module, group, name,...) \