src/strings.cpp
changeset 7844 fbecfb6e2c2b
parent 7812 9e652ca4827b
child 7852 d2491d19f323
--- a/src/strings.cpp	Fri Jul 27 22:13:12 2007 +0000
+++ b/src/strings.cpp	Fri Jul 27 22:19:19 2007 +0000
@@ -1224,6 +1224,8 @@
 	return true;
 }
 
+/* Win32 implementation in win32.cpp. */
+#ifndef WIN32
 /** Determine the current charset based on the environment
  * First check some default values, after this one we passed ourselves
  * and if none exist return the value for $LANG
@@ -1247,6 +1249,7 @@
 
 	return getenv("LANG");
 }
+#endif /* ifndef WIN32 */
 
 static int CDECL LanguageCompareFunc(const void *a, const void *b)
 {