From 863858ab0095c8f792b212fe86487e19657fc8d5 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 5 Dec 2017 16:42:37 +0100 Subject: [PATCH] Can't have anonymous variadic macros in C89 --- cheevos/var.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cheevos/var.c b/cheevos/var.c index 36828b46b3..45ae9ac866 100644 --- a/cheevos/var.c +++ b/cheevos/var.c @@ -24,10 +24,15 @@ #include "../core.h" #include "../verbosity.h" +static void STUB_LOG(const char *fmt, ...) +{ + (void)fmt; +} + #ifdef CHEEVOS_VERBOSE #define CHEEVOS_LOG RARCH_LOG #else -#define CHEEVOS_LOG(...) +#define CHEEVOS_LOG STUB_LOG #endif /*****************************************************************************