Fix the issue of incorrect macro definition IFCALLRESULT
This commit is contained in:
parent
8ec4d20616
commit
553d964d8c
@ -92,7 +92,8 @@
|
||||
}); \
|
||||
})
|
||||
#else
|
||||
#define IFCALLRESULT(_default_return, _cb, ...) (_cb != NULL) ? _cb(__VA_ARGS__) : (_default_return)
|
||||
#define IFCALLRESULT(_default_return, _cb, ...) \
|
||||
((_cb != NULL) ? _cb(__VA_ARGS__) : (_default_return))
|
||||
#endif
|
||||
|
||||
#ifdef __GNUC__
|
||||
|
Loading…
Reference in New Issue
Block a user