Shared: NSLog should just take whatever N args
This commit is contained in:
parent
df738da436
commit
bda01e0f0f
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ _NSLog(string msg)
|
|||
if (cvar("g_developer") == 1)
|
||||
print(sprintf("%f %s\n", time, msg));
|
||||
}
|
||||
#define NSLog(x, ...) _NSLog(sprintf(x, __VA_ARGS__))
|
||||
#define NSLog(...) _NSLog(sprintf(__VA_ARGS__))
|
||||
|
||||
enumflags
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue