[project @ 2003-10-16 16:26:43 by ross]
[haskell-directory.git] / GHC / Unicode.hsc
index 7b84535..d664a13 100644 (file)
@@ -112,7 +112,7 @@ toLower                 :: Char -> Char
 -- -----------------------------------------------------------------------------
 -- Win32 implementation
 
-#if defined(HAVE_WCTYPE_H) || mingw32_TARGET_OS
+#if (defined(HAVE_WCTYPE_H) && HAVE_ISWSPACE) || mingw32_TARGET_OS
 
 -- Use the wide-char classification functions if available.  Glibc
 -- seems to implement these properly, even for chars > 0xffff, as long