Try to fix the build with msvc

This commit is contained in:
Matthias Clasen 2022-12-26 12:56:33 -05:00 committed by Behdad Esfahbod
parent 00e93102a6
commit 1eb4d002f2
1 changed files with 3 additions and 1 deletions

View File

@ -40,9 +40,11 @@ typedef struct {
GString *string;
} paint_data_t;
#ifndef _MSC_VER
static void print (paint_data_t *data, const char *format, ...) __attribute__((format (printf, 2, 3)));
#endif
void
static void
print (paint_data_t *data,
const char *format,
...)