diff options
author | Clemens Fruhwirth <clemens@endorphin.org> | 2007-08-08 06:50:43 +0000 |
---|---|---|
committer | Clemens Fruhwirth <clemens@endorphin.org> | 2007-08-08 06:50:43 +0000 |
commit | 006a18ea83799c0d4255071a2f8c08d3e9c7d84f (patch) | |
tree | bf73abdd6f0d50df5dc991a0d8c39d6c6a8a1be6 /rts/RtsDllMain.c | |
parent | 90ef8ab26efb2fc4172944f1066f122d3a6e7c7d (diff) | |
download | haskell-006a18ea83799c0d4255071a2f8c08d3e9c7d84f.tar.gz |
Build RTS as dynamic library
Diffstat (limited to 'rts/RtsDllMain.c')
-rw-r--r-- | rts/RtsDllMain.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/rts/RtsDllMain.c b/rts/RtsDllMain.c index af3c5090de..250b63ea68 100644 --- a/rts/RtsDllMain.c +++ b/rts/RtsDllMain.c @@ -15,8 +15,7 @@ #endif /* I'd be mildly surprised if this wasn't defined, but still. */ -#ifdef ENABLE_WIN32_DLL_SUPPORT - +#if defined(__PIC__) && defined(mingw32_TARGET_OS) BOOL WINAPI DllMain ( HINSTANCE hInstance @@ -36,4 +35,4 @@ DllMain ( HINSTANCE hInstance return TRUE; } -#endif /* ENABLE_WIN32_DLL_SUPPORT */ +#endif /* defined(__PIC__) && defined(mingw32_TARGET_OS) */ |