Fix building with compilers which don't have an integer for a patch level
authorIan Lynagh <igloo@earth.li>
Fri, 21 Sep 2007 16:53:16 +0000 (16:53 +0000)
committerIan Lynagh <igloo@earth.li>
Fri, 21 Sep 2007 16:53:16 +0000 (16:53 +0000)
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