aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/yosys.cc
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2018-09-19 10:16:53 +0200
committerJim Lawson <ucbjrl@berkeley.edu>2018-10-08 11:38:10 -0700
commit24951ddc777f9cc70670e3f833a7f89cad98f476 (patch)
tree958e914ca5c8fb0f795099228a235d58a5fccac7 /kernel/yosys.cc
parent33ac82a5fe7a1cad1e947f8f2350c123af592deb (diff)
downloadyosys-24951ddc777f9cc70670e3f833a7f89cad98f476.tar.gz
yosys-24951ddc777f9cc70670e3f833a7f89cad98f476.tar.bz2
yosys-24951ddc777f9cc70670e3f833a7f89cad98f476.zip
Fix Cygwin build and document needed packages
Diffstat (limited to 'kernel/yosys.cc')
-rw-r--r--kernel/yosys.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/yosys.cc b/kernel/yosys.cc
index 264b1f63d..ad032899c 100644
--- a/kernel/yosys.cc
+++ b/kernel/yosys.cc
@@ -166,7 +166,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, rc;
while (1) {
va_list apc;