add ga_inl, ga_inr
[ghc-base.git] / cbits / PrelIOUtils.c
index f43f5d8..9e05f08 100644 (file)
@@ -30,6 +30,7 @@ void debugBelch2(const char*s, char *t)
 #  include <langinfo.h>
 #endif
 
+#if !defined(mingw32_HOST_OS)
 const char* localeEncoding(void)
 {
 #if defined(HAVE_LIBCHARSET)
@@ -46,5 +47,6 @@ const char* localeEncoding(void)
     return "";
 #endif
 }
+#endif
 
 #endif /* __GLASGOW_HASKELL__ */