aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/mbyte.c
diff options
context:
space:
mode:
authorMichael Reed <m.reed@mykolab.com>2015-05-30 01:06:19 -0400
committerMichael Reed <m.reed@mykolab.com>2015-05-30 17:09:27 -0400
commitb113754de8815fd59e1b42f8eae239b0a31c43ee (patch)
tree8ab2ed80eca912d4656049bc0da00d7aa2da7e0c /src/nvim/mbyte.c
parent7c2afbd9a69c5aa2d148251f1a7e5773fb0f2ebb (diff)
downloadrneovim-b113754de8815fd59e1b42f8eae239b0a31c43ee.tar.gz
rneovim-b113754de8815fd59e1b42f8eae239b0a31c43ee.tar.bz2
rneovim-b113754de8815fd59e1b42f8eae239b0a31c43ee.zip
Passing by: Remove X_LOCALE refs
We don't link to any X11 libs, so this is most likely unneeded.
Diffstat (limited to 'src/nvim/mbyte.c')
-rw-r--r--src/nvim/mbyte.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/mbyte.c b/src/nvim/mbyte.c
index 368ae8e773..c8ebcefe0e 100644
--- a/src/nvim/mbyte.c
+++ b/src/nvim/mbyte.c
@@ -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
{