mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
GLK: Use MSVC_PRINTF when GCC_PRINTF is used
This commit is contained in:
parent
95c755e8a3
commit
5d23261964
@ -63,9 +63,9 @@ typedef void (*sc_write_callbackref_t)(void *, const sc_byte *, sc_int);
|
||||
/*
|
||||
* Small utility and wrapper functions.
|
||||
*/
|
||||
extern void sc_trace(const sc_char *format, ...) GCC_PRINTF(1, 2);
|
||||
extern void sc_error(const sc_char *format, ...) GCC_PRINTF(1, 2);
|
||||
extern void sc_fatal(const sc_char *format, ...) GCC_PRINTF(1, 2);
|
||||
extern void sc_trace(MSVC_PRINTF const sc_char *format, ...) GCC_PRINTF(1, 2);
|
||||
extern void sc_error(MSVC_PRINTF const sc_char *format, ...) GCC_PRINTF(1, 2);
|
||||
extern void sc_fatal(MSVC_PRINTF const sc_char *format, ...) GCC_PRINTF(1, 2);
|
||||
extern void *sc_malloc(size_t size);
|
||||
extern void *sc_realloc(void *pointer, size_t size);
|
||||
extern void sc_free(void *pointer);
|
||||
|
@ -49,9 +49,9 @@ typedef struct sx_test_descriptor_s {
|
||||
/*
|
||||
* Small utility and wrapper functions.
|
||||
*/
|
||||
extern void sx_trace(const sc_char *format, ...) GCC_PRINTF(1, 2);
|
||||
extern void sx_error(const sc_char *format, ...) GCC_PRINTF(1, 2);
|
||||
extern void sx_fatal(const sc_char *format, ...) GCC_PRINTF(1, 2);
|
||||
extern void sx_trace(MSVC_PRINTF const sc_char *format, ...) GCC_PRINTF(1, 2);
|
||||
extern void sx_error(MSVC_PRINTF const sc_char *format, ...) GCC_PRINTF(1, 2);
|
||||
extern void sx_fatal(MSVC_PRINTF const sc_char *format, ...) GCC_PRINTF(1, 2);
|
||||
extern void *sx_malloc(size_t size);
|
||||
extern void *sx_realloc(void *pointer, size_t size);
|
||||
extern void sx_free(void *pointer);
|
||||
|
@ -61,7 +61,7 @@ public:
|
||||
return *this;
|
||||
}
|
||||
|
||||
static String format(const char *fmt, ...) GCC_PRINTF(1, 2);
|
||||
static String format(MSVC_PRINTF const char *fmt, ...) GCC_PRINTF(1, 2);
|
||||
|
||||
static String vformat(const char *fmt, va_list args);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user