mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-11 15:37:29 +02:00
Merge pull request #1346 from ychin/fix-unnecessary-bindtextdomain-ifdef
Fix unnecessary ifdef when dealing with gettext
This commit is contained in:
@@ -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
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user