diff options
-rw-r--r-- | include/gc_config_macros.h | 2 |
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) |