summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Flatt <mflatt@racket-lang.org>2012-12-07 07:58:40 -0600
committerIvan Maidanski <ivmai@mail.ru>2013-11-03 14:25:54 +0400
commit7f44cc9db294d9fe3278ebc3fb29d0178d9eb48b (patch)
tree9cc60ec3d39b048898561086a1d2160ae9d94a86
parent60d2b150d502c62b4ad10ea4229154746bab2a47 (diff)
downloadbdwgc-7f44cc9db294d9fe3278ebc3fb29d0178d9eb48b.tar.gz
win32: support MinGW build
A MinGW build is the same shape as a MSVC build (but without MzCOM), unlike a Cygwin build.
-rw-r--r--include/gc_config_macros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gc_config_macros.h b/include/gc_config_macros.h
index d2476b28..9c76e472 100644
--- a/include/gc_config_macros.h
+++ b/include/gc_config_macros.h
@@ -154,7 +154,7 @@
#endif
#if defined(__MINGW32__) && defined(GC_DLL)
-# ifdef GC_BUILD
+# if defined(GC_BUILD) || defined(__MINGW32_DELAY_LOAD__)
# define GC_API __declspec(dllexport)
# else
# define GC_API __declspec(dllimport)