projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use n-ary sums and products for NDP's generic representation
[ghc-hetmet.git]
/
rts
/
RtsDllMain.c
diff --git
a/rts/RtsDllMain.c
b/rts/RtsDllMain.c
index
af3c509
..
250b63e
100644
(file)
--- 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. */
#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
BOOL
WINAPI
DllMain ( HINSTANCE hInstance
@@
-36,4
+35,4
@@
DllMain ( HINSTANCE hInstance
return TRUE;
}
return TRUE;
}
-#endif /* ENABLE_WIN32_DLL_SUPPORT */
+#endif /* defined(__PIC__) && defined(mingw32_TARGET_OS) */