aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index f6a7c51d..03192ee4 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -27,6 +27,10 @@ endif
HS_PROG = haddock$(HS_PROG_EXT)
+ifeq "$(HOSTPLATFORM)" "i386-unknown-mingw32"
+Main_HC_OPTS += -Dmingw32_HOST_OS=1
+endif
+
HsParser_HC_OPTS += -Onot
HaddockParse_HC_OPTS += -Onot
HaddockVersion_HC_OPTS = -DHADDOCK_VERSION=$(ProjectVersion)