X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/722c4bfec27f80609a197337ae42bf5d88c31322..43168960182a2537605d6a1262a39e4e43c57d98:/src/system.h diff --git a/src/system.h b/src/system.h index 93213cb7..70605c49 100644 --- a/src/system.h +++ b/src/system.h @@ -149,20 +149,9 @@ size_t strnlen PARAMS ((const char *s, size_t maxlen)); # define setlocale(Category, Locale) #endif -#ifdef ENABLE_NLS -# include -# define _(Text) gettext (Text) -#else -# undef bindtextdomain -# define bindtextdomain(Domain, Directory) -# undef textdomain -# define textdomain(Domain) -# undef ngettext -# define ngettext(Singular, Plural, Number) \ - ((Number == 1) ? Singular : Plural) -# define _(Text) Text -#endif -#define N_(Text) Text +#include "intl/libgettext.h" +#define _(Msgid) gettext (Msgid) +#define N_(Msgid) (Msgid) /*-------------------------------.