aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/gettext.h
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2018-06-08 13:24:58 -0400
committerJustin M. Keyes <justinkz@gmail.com>2018-06-08 19:24:58 +0200
commit77192889f09a118c8993af79b2eaa7f43623b6c2 (patch)
tree0b3a72293fef49c9d2c31b4d1c7adc4e8da47e5c /src/nvim/gettext.h
parentc7e6bb246715c9f1bef4d0ebe0ec361da9c3a07e (diff)
downloadrneovim-77192889f09a118c8993af79b2eaa7f43623b6c2.tar.gz
rneovim-77192889f09a118c8993af79b2eaa7f43623b6c2.tar.bz2
rneovim-77192889f09a118c8993af79b2eaa7f43623b6c2.zip
vim-patch:8.0.0452: some macros are in lower case (#8505)
Problem: Some macros are in lower case. Solution: Make a few more macros upper case. https://github.com/vim/vim/commit/1c46544412382db8b3203d6c78e550df885540bd
Diffstat (limited to 'src/nvim/gettext.h')
-rw-r--r--src/nvim/gettext.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/gettext.h b/src/nvim/gettext.h
index 60317b8484..acc7e3a92c 100644
--- a/src/nvim/gettext.h
+++ b/src/nvim/gettext.h
@@ -10,10 +10,11 @@
# else
# define N_(x) x
# endif
+# define NGETTEXT(x, xs, n) ngettext(x, xs, n)
#else
# define _(x) ((char *)(x))
# define N_(x) x
-# define ngettext(x, xs, n) ((n) == 1 ? (x) : (xs))
+# define NGETTEXT(x, xs, n) ((n) == 1 ? (x) : (xs))
# define bindtextdomain(x, y) // empty
# define bind_textdomain_codeset(x, y) // empty
# define textdomain(x) // empty