diff options
Diffstat (limited to 'lang/ghc/files/patch-libraries::base::GHC::Unicode.hsc')
-rw-r--r-- | lang/ghc/files/patch-libraries::base::GHC::Unicode.hsc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/ghc/files/patch-libraries::base::GHC::Unicode.hsc b/lang/ghc/files/patch-libraries::base::GHC::Unicode.hsc new file mode 100644 index 000000000000..0941605a36e6 --- /dev/null +++ b/lang/ghc/files/patch-libraries::base::GHC::Unicode.hsc @@ -0,0 +1,11 @@ +--- libraries/base/GHC/Unicode.hsc.orig Mon Oct 20 12:12:20 2003 ++++ libraries/base/GHC/Unicode.hsc Mon Jan 12 23:32:22 2004 +@@ -112,7 +112,7 @@ + -- ----------------------------------------------------------------------------- + -- Win32 implementation + +-#if (defined(HAVE_WCTYPE_H) && HAVE_ISWSPACE) || mingw32_TARGET_OS ++#if (defined(HAVE_WCTYPE_H) && HAVE_ISWSPACE && defined(HTYPE_WINT_T)) || mingw32_TARGET_OS + + -- Use the wide-char classification functions if available. Glibc + -- seems to implement these properly, even for chars > 0xffff, as long |