Revision 2045 libsylph/codeconv.c

codeconv.c (revision 2045)
2061 2061
			cur_locale = g_getenv("LC_CTYPE");
2062 2062
		if (!cur_locale || *cur_locale == '\0')
2063 2063
			cur_locale = g_getenv("LANG");
2064
#ifdef HAVE_LOCALE_H
2064 2065
		if (!cur_locale || *cur_locale == '\0')
2065 2066
			cur_locale = setlocale(LC_CTYPE, NULL);
2067
#endif /* HAVE_LOCALE_H */
2066 2068
#endif /* G_OS_WIN32 */
2067 2069

  
2068 2070
		debug_print("current locale: %s\n",

Also available in: Unified diff