summaryrefslogtreecommitdiff
path: root/ghc/lib/compat/cbits/unicode.c
diff options
context:
space:
mode:
Diffstat (limited to 'ghc/lib/compat/cbits/unicode.c')
-rw-r--r--ghc/lib/compat/cbits/unicode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/lib/compat/cbits/unicode.c b/ghc/lib/compat/cbits/unicode.c
index 0e0d1c5d40..c744cc9436 100644
--- a/ghc/lib/compat/cbits/unicode.c
+++ b/ghc/lib/compat/cbits/unicode.c
@@ -1,3 +1,3 @@
-#if __GLASGOW_HASKELL__ < 604
+#if __GLASGOW_HASKELL__ < 604 || (__GLASGOW_HASKELL__==604 && __GHC_PATCHLEVEL__==0)
#include "WCsubst.c"
#endif