X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=rts%2FStgMiscClosures.cmm;h=ebf9e922ae86bed6a5297dd45ee07cd0cfbd2ce6;hb=006a18ea83799c0d4255071a2f8c08d3e9c7d84f;hp=58cbaf9d56f75c4bb47179614a3a76d16b0b37ed;hpb=90ef8ab26efb2fc4172944f1066f122d3a6e7c7d;p=ghc-hetmet.git diff --git a/rts/StgMiscClosures.cmm b/rts/StgMiscClosures.cmm index 58cbaf9..ebf9e92 100644 --- a/rts/StgMiscClosures.cmm +++ b/rts/StgMiscClosures.cmm @@ -592,7 +592,7 @@ CLOSURE(stg_dummy_ret_closure,stg_dummy_ret); replace them with references to the static objects. ------------------------------------------------------------------------- */ -#if defined(ENABLE_WIN32_DLL_SUPPORT) +#if defined(__PIC__) && defined(mingw32_TARGET_OS) /* * When sticking the RTS in a DLL, we delay populating the * Charlike and Intlike tables until load-time, which is only