From 8cd8b7c26e01ce14e5c8fcf2fd0f4e6238801a19 Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Sun, 29 Dec 2019 05:29:09 +0100 Subject: [PATCH] Define VALIST as va_list rather than char* on non-glibc systems (#4185) --- src/utils/log.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/log.hpp b/src/utils/log.hpp index 6959b6cf1..a3a15f9c5 100644 --- a/src/utils/log.hpp +++ b/src/utils/log.hpp @@ -30,10 +30,10 @@ #include -#ifdef __GNUC__ +#if defined(__GLIBC__) # define VALIST __gnuc_va_list #else -# define VALIST char* +# define VALIST va_list #endif #if defined(_WIN32) && defined(_MSC_VER) && _MSC_VER < 1800