X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=GHC%2FUnicode.hs;h=52d14f37c8964eea9a20bd29ab2472cf7b62c924;hb=9fcd4e60afbfe43c62372cd75fd940c2c4294265;hp=b29d44fbc78f63bd891425b87488f18d8c399df9;hpb=62aa5cf8bbbc0c357c6c61caaa62bb94999581df;p=ghc-base.git diff --git a/GHC/Unicode.hs b/GHC/Unicode.hs index b29d44f..52d14f3 100644 --- a/GHC/Unicode.hs +++ b/GHC/Unicode.hs @@ -1,4 +1,4 @@ -{-# OPTIONS -fno-implicit-prelude #-} +{-# OPTIONS_GHC -fno-implicit-prelude #-} ----------------------------------------------------------------------------- -- | -- Module : GHC.Unicde @@ -15,6 +15,7 @@ -- ----------------------------------------------------------------------------- +-- #hide module GHC.Unicode ( isAscii, isLatin1, isControl, isAsciiUpper, isAsciiLower, @@ -30,7 +31,6 @@ import GHC.Int import GHC.Word import GHC.Num (fromInteger) -#include "ghcconfig.h" #include "HsBaseConfig.h" -- | Selects the first 128 characters of the Unicode character set, @@ -122,7 +122,7 @@ toLower :: Char -> Char -- ----------------------------------------------------------------------------- -- Win32 implementation -#if (defined(HAVE_WCTYPE_H) && HAVE_ISWSPACE && defined(HTYPE_WINT_T)) || mingw32_TARGET_OS +#if (defined(HAVE_WCTYPE_H) && HAVE_ISWSPACE && defined(HTYPE_WINT_T)) || mingw32_HOST_OS -- Use the wide-char classification functions if available. Glibc -- seems to implement these properly, even for chars > 0xffff, as long