aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;