Fix building with compilers which don't have an integer for a patch level
[ghc-hetmet.git] / compat / cbits / unicode.c
index c744cc9..c239e21 100644 (file)
@@ -1,3 +1,5 @@
-#if __GLASGOW_HASKELL__ < 604 || (__GLASGOW_HASKELL__==604 && __GHC_PATCHLEVEL__==0)
+#if __GLASGOW_HASKELL__ < 605
+#if __GLASGOW_HASKELL__ != 604 || __GHC_PATCHLEVEL__ == 0
 #include "WCsubst.c"
 #endif
+#endif