aboutsummaryrefslogtreecommitdiff
path: root/src/ex_getln.c
diff options
context:
space:
mode:
authoraph <a.hewson@gmail.com>2014-01-31 18:10:18 +0000
committerThiago de Arruda <tpadilha84@gmail.com>2014-02-01 10:34:04 -0300
commit2d00ead2e57653b771354a564f9a760c2ce0d18e (patch)
treec205d7000191c5f7f2f1a439bc5ac67524c4fc00 /src/ex_getln.c
parent72cf89bce8e4230dbc161dc5606f48ef9884ba70 (diff)
downloadrneovim-2d00ead2e57653b771354a564f9a760c2ce0d18e.tar.gz
rneovim-2d00ead2e57653b771354a564f9a760c2ce0d18e.tar.bz2
rneovim-2d00ead2e57653b771354a564f9a760c2ce0d18e.zip
Fix build on OSX/Archlinux and add README
- remove SELinux dependency for now - OSX: find libintl.h - OSX: fix compile errors - OSX: use hack around gettext nonsense - fix gettext on ubuntu - work around Arch's lack of -ltermcap - add README.md
Diffstat (limited to 'src/ex_getln.c')
-rw-r--r--src/ex_getln.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c
index ee9fc079fe..dbef0a9449 100644
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -3783,8 +3783,7 @@ int options; /* EW_ flags */
{EXPAND_AUGROUP, get_augroup_name, TRUE, TRUE},
{EXPAND_CSCOPE, get_cscope_name, TRUE, TRUE},
{EXPAND_PROFILE, get_profile_name, TRUE, TRUE},
-#if (defined(HAVE_LOCALE_H) || defined(X_LOCALE)) \
- && (defined(FEAT_GETTEXT) || defined(FEAT_MBYTE))
+#ifdef HAVE_WORKING_LIBINTL
{EXPAND_LANGUAGE, get_lang_arg, TRUE, FALSE},
{EXPAND_LOCALES, get_locales, TRUE, FALSE},
#endif