mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-24 11:43:05 +01:00
Merge pull request #178 from Bigpet/master
Remove GCC specific variadic macro syntax
This commit is contained in:
commit
930d507d43
@ -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,...) \
|
||||
|
Loading…
Reference in New Issue
Block a user