blob: c0aaf585b216cd13e20c3428e47fded84ecc6ee8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git a/tjutil.h b/tjutil.h
index f72840c..a3ae19f 100644
--- a/tjutil.h
+++ b/tjutil.h
@@ -30,7 +30,7 @@
#ifndef __MINGW32__
#include <stdio.h>
#define snprintf(str, n, format, ...) \
- _snprintf_s(str, n, _TRUNCATE, format, __VA_ARGS__)
+ _snprintf_s(str, n, _TRUNCATE, format, ## __VA_ARGS__)
#endif
#define strcasecmp stricmp
#define strncasecmp strnicmp
|