summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Flatt <mflatt@racket-lang.org>2012-12-27 15:57:26 -0600
committerIvan Maidanski <ivmai@mail.ru>2013-11-03 14:25:59 +0400
commit5a341f4b5d10bfffb612362061621165a361f7ae (patch)
treee2e17295f05acbf7d2e5d7231d5298639bb2cc46
parent7f44cc9db294d9fe3278ebc3fb29d0178d9eb48b (diff)
downloadbdwgc-5a341f4b5d10bfffb612362061621165a361f7ae.tar.gz
MinGW-w64 support
For now, SGC must be used, but `configure' does not select it automatically. Also, support Cygwin (in addition to MSYS) as a build environment when using MinGW compilers. Since I build in a Cygwin environment (which seemed to be the easiest way to get MinGW-w64 gcc), I use ../configure --host=x86_64-w64-mingw32 --enable-sgc
-rw-r--r--include/private/gcconfig.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h
index 5d8ab05f..d2a85c7b 100644
--- a/include/private/gcconfig.h
+++ b/include/private/gcconfig.h
@@ -433,7 +433,7 @@
# define CYGWIN32
# define mach_type_known
# endif
-# if defined(__MINGW32__)
+# if defined(__MINGW32__) && !defined(_WIN64) /* PLTSCHEME: no _WIN64 */
# define I386
# define MSWIN32
# define mach_type_known