From: Matthew Flatt Date: Fri, 7 Dec 2012 13:58:40 +0000 (-0600) Subject: win32: support MinGW build X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7f44cc9db294d9fe3278ebc3fb29d0178d9eb48b;p=gc win32: support MinGW build A MinGW build is the same shape as a MSVC build (but without MzCOM), unlike a Cygwin build. --- 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)