~ chicken-core (chicken-5) 8a89f2ac3b82d6b0ea5db37f91214816fe72fff2
commit 8a89f2ac3b82d6b0ea5db37f91214816fe72fff2
Author: felix <felix@call-with-current-continuation.org>
AuthorDate: Mon Jun 21 12:02:39 2010 +0200
Commit: felix <felix@call-with-current-continuation.org>
CommitDate: Mon Jun 21 12:02:39 2010 +0200
need windows.h on mingw in any case
diff --git a/runtime.c b/runtime.c
index 7fc2043e..9fc3812f 100644
--- a/runtime.c
+++ b/runtime.c
@@ -92,7 +92,7 @@ static C_TLS int timezone;
# define RTLD_LAZY 0
#endif
-#ifdef HAVE_WINDOWS_H
+#if defined(HAVE_WINDOWS_H) || (defined(_WIN32) && !defined(__CYGWIN__))
# include <windows.h>
#endif
Trap