aboutsummaryrefslogtreecommitdiffstats
path: root/common/log.cc
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-10-01 12:37:12 +0100
committergatecat <gatecat@ds0.me>2021-10-01 12:40:56 +0100
commit211b6b6b065a43fc8726907d94a4a2c7f01f702b (patch)
tree815b3eef9abf7c98b619f7d41a938ce9e9aca92c /common/log.cc
parent7550b60069facbca9e4292ad2753f8e317a5d681 (diff)
downloadnextpnr-211b6b6b065a43fc8726907d94a4a2c7f01f702b.tar.gz
nextpnr-211b6b6b065a43fc8726907d94a4a2c7f01f702b.tar.bz2
nextpnr-211b6b6b065a43fc8726907d94a4a2c7f01f702b.zip
Fix Cygwin build
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'common/log.cc')
-rw-r--r--common/log.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/log.cc b/common/log.cc
index e77fd11a..8b1ad43b 100644
--- a/common/log.cc
+++ b/common/log.cc
@@ -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;