Try to fix the build with msvc
This commit is contained in:
parent
00e93102a6
commit
1eb4d002f2
|
@ -40,9 +40,11 @@ typedef struct {
|
||||||
GString *string;
|
GString *string;
|
||||||
} paint_data_t;
|
} paint_data_t;
|
||||||
|
|
||||||
|
#ifndef _MSC_VER
|
||||||
static void print (paint_data_t *data, const char *format, ...) __attribute__((format (printf, 2, 3)));
|
static void print (paint_data_t *data, const char *format, ...) __attribute__((format (printf, 2, 3)));
|
||||||
|
#endif
|
||||||
|
|
||||||
void
|
static void
|
||||||
print (paint_data_t *data,
|
print (paint_data_t *data,
|
||||||
const char *format,
|
const char *format,
|
||||||
...)
|
...)
|
||||||
|
|
Loading…
Reference in New Issue