Merge pull request #1346 from ychin/fix-unnecessary-bindtextdomain-ifdef

Fix unnecessary ifdef when dealing with gettext
This commit is contained in:
Yee Cheng Chin
2023-01-18 11:50:05 -08:00
committed by GitHub
-6
View File
@@ -571,11 +571,6 @@ extern int (*dyn_libintl_wputenv)(const wchar_t *envstring);
# define _(x) ((char *)(x))
# define NGETTEXT(x, xs, n) (((n) == 1) ? (char *)(x) : (char *)(xs))
# define N_(x) x
#ifdef FEAT_GUI_MACVIM
// In MacVim, we want bindtextdomain to work because we bundle the locale
// files in runtime dir instead of a global install loation. This is
// similar to Windows (which has DYNAMIC_GETTEXT set).
#else
# ifdef bindtextdomain
# undef bindtextdomain
# endif
@@ -588,7 +583,6 @@ extern int (*dyn_libintl_wputenv)(const wchar_t *envstring);
# undef textdomain
# endif
# define textdomain(x) // empty
#endif // MacVim
#endif
/*