diff options
author | gatecat <gatecat@ds0.me> | 2021-10-01 17:11:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-01 17:11:59 +0100 |
commit | 4d97e299991c798e65ccd382f9614d87178e673d (patch) | |
tree | e5034326c6bd72884174c810ec9ce1b2b06f6e4e /common | |
parent | 5ae9eeba18136ac9511e0c959448b9e6f2e1e3a3 (diff) | |
parent | 211b6b6b065a43fc8726907d94a4a2c7f01f702b (diff) | |
download | nextpnr-4d97e299991c798e65ccd382f9614d87178e673d.tar.gz nextpnr-4d97e299991c798e65ccd382f9614d87178e673d.tar.bz2 nextpnr-4d97e299991c798e65ccd382f9614d87178e673d.zip |
Merge pull request #834 from YosysHQ/gatecat/cygwin
Fix Cygwin build
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; |