summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--driver/ghci/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/ghci/Makefile b/driver/ghci/Makefile
index cdc4d4e519..37c30c2ebe 100644
--- a/driver/ghci/Makefile
+++ b/driver/ghci/Makefile
@@ -58,7 +58,7 @@ endif
ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
ghci.res : ghci.rc ghci.ico
- windres -o ghci.res -i ghci.rc -O coff
+ windres --preprocessor="$(CPP) -xc -DRC_INVOKED" -o ghci.res -i ghci.rc -O coff
endif
binary-dist: