From: Ian Lynagh Date: Fri, 21 Sep 2007 16:53:16 +0000 (+0000) Subject: Fix building with compilers which don't have an integer for a patch level X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=2838dd973520318e566e50f81843658749f1acb4;hp=982c1f494de8a691294a95aee108e765c3f592a0 Fix building with compilers which don't have an integer for a patch level --- diff --git a/compat/cbits/unicode.c b/compat/cbits/unicode.c index c744cc9..c239e21 100644 --- a/compat/cbits/unicode.c +++ b/compat/cbits/unicode.c @@ -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