Passing by: Remove X_LOCALE refs

We don't link to any X11 libs, so this is most likely unneeded.
This commit is contained in:
Michael Reed
2015-05-30 01:06:19 -04:00
parent 7c2afbd9a6
commit b113754de8
3 changed files with 4 additions and 4 deletions

View File

@@ -3406,7 +3406,7 @@ char_u * enc_locale(void)
if (!(s = nl_langinfo(CODESET)) || *s == NUL)
# endif
{
# if defined(HAVE_LOCALE_H) || defined(X_LOCALE)
# if defined(HAVE_LOCALE_H)
if (!(s = setlocale(LC_CTYPE, NULL)) || *s == NUL)
# endif
{