Merge pull request #834 from YosysHQ/gatecat/cygwin

Fix Cygwin build
This commit is contained in:
gatecat 2021-10-01 17:11:59 +01:00 committed by GitHub
commit 4d97e29999
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;