From 2838dd973520318e566e50f81843658749f1acb4 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Fri, 21 Sep 2007 16:53:16 +0000 Subject: [PATCH] Fix building with compilers which don't have an integer for a patch level --- compat/cbits/unicode.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 1.7.10.4