1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-24 19:52:37 +01:00

Merge pull request #178 from Bigpet/master

Remove GCC specific variadic macro syntax
This commit is contained in:
Alexandro Sánchez Bach 2014-04-08 21:59:25 +02:00
commit 930d507d43

View File

@ -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,...) \