Fix Cygwin build

Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
gatecat 2021-10-01 12:37:12 +01:00
parent 7550b60069
commit 211b6b6b06

View File

@ -59,7 +59,7 @@ std::string vstringf(const char *fmt, va_list ap)
std::string string;
char *str = NULL;
#ifdef _WIN32
#if defined(_WIN32) || defined(__CYGWIN__)
int sz = 64 + strlen(fmt), rc;
while (1) {
va_list apc;