diff options
author | gatecat <gatecat@ds0.me> | 2021-10-01 12:37:12 +0100 |
---|---|---|
committer | gatecat <gatecat@ds0.me> | 2021-10-01 12:40:56 +0100 |
commit | 211b6b6b065a43fc8726907d94a4a2c7f01f702b (patch) | |
tree | 815b3eef9abf7c98b619f7d41a938ce9e9aca92c /common | |
parent | 7550b60069facbca9e4292ad2753f8e317a5d681 (diff) | |
download | nextpnr-211b6b6b065a43fc8726907d94a4a2c7f01f702b.tar.gz nextpnr-211b6b6b065a43fc8726907d94a4a2c7f01f702b.tar.bz2 nextpnr-211b6b6b065a43fc8726907d94a4a2c7f01f702b.zip |
Fix Cygwin build
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'common')
-rw-r--r-- | common/log.cc | 2 |
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; |