Skip to content

Commit

Permalink
Merge pull request #1346 from ychin/fix-unnecessary-bindtextdomain-ifdef
Browse files Browse the repository at this point in the history
Fix unnecessary ifdef when dealing with gettext
  • Loading branch information
ychin authored Jan 18, 2023
2 parents 2b7f6ee + c2bb879 commit 5933cc8
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/vim.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -588,7 +583,6 @@ extern int (*dyn_libintl_wputenv)(const wchar_t *envstring);
# undef textdomain
# endif
# define textdomain(x) // empty
#endif // MacVim
#endif

/*
Expand Down

0 comments on commit 5933cc8

Please sign in to comment.