Define VALIST as va_list rather than char* on non-glibc systems (#4185)

This commit is contained in:
Bart Ribbers 2019-12-29 05:29:09 +01:00 committed by Benau
parent 44d2127800
commit 8cd8b7c26e

View File

@ -30,10 +30,10 @@
#include <vector>
#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