summaryrefslogtreecommitdiff
path: root/src/ex_cmds2.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2004-12-31 20:58:58 +0000
committerBram Moolenaar <Bram@vim.org>2004-12-31 20:58:58 +0000
commitdef9e829de8bcaf723568e5780c47557e83f99f0 (patch)
treed454cc29b2c6118f26f6911b4dcfcc34847f7b10 /src/ex_cmds2.c
parentdfccaf0f00e8308eae09cb8f012fce3e56097f0f (diff)
downloadvim-git-def9e829de8bcaf723568e5780c47557e83f99f0.tar.gz
updated for version 7.0027
Diffstat (limited to 'src/ex_cmds2.c')
-rw-r--r--src/ex_cmds2.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c
index a1831332a..2600a1b24 100644
--- a/src/ex_cmds2.c
+++ b/src/ex_cmds2.c
@@ -6548,10 +6548,12 @@ get_mess_lang()
}
#endif
-#if !defined(LC_MESSAGES) \
- && (((defined(HAVE_LOCALE_H) || defined(X_LOCALE)) \
- && (defined(FEAT_GETTEXT) || defined(FEAT_MBYTE))) \
- || defined(FEAT_EVAL))
+/* Complicated #if; matches with where get_mess_env() is used below. */
+#if (defined(FEAT_EVAL) && !((defined(HAVE_LOCALE_H) || defined(X_LOCALE)) \
+ && defined(LC_MESSAGES))) \
+ || ((defined(HAVE_LOCALE_H) || defined(X_LOCALE)) \
+ && (defined(FEAT_GETTEXT) || defined(FEAT_MBYTE)) \
+ && !defined(LC_MESSAGES))
static char_u *get_mess_env __ARGS((void));
/*