summaryrefslogtreecommitdiff
path: root/third_party/heimdal/kuser/kuser_locl.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/heimdal/kuser/kuser_locl.h')
-rw-r--r--third_party/heimdal/kuser/kuser_locl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/third_party/heimdal/kuser/kuser_locl.h b/third_party/heimdal/kuser/kuser_locl.h
index 8218a6f096f..b1a097a8d6f 100644
--- a/third_party/heimdal/kuser/kuser_locl.h
+++ b/third_party/heimdal/kuser/kuser_locl.h
@@ -97,11 +97,15 @@
#ifdef LIBINTL
#include <libintl.h>
+#undef N_
#define N_(x,y) gettext(x)
+#undef NP_
#define NP_(x,y) (x)
#define getarg_i18n gettext
#else
+#undef N_
#define N_(x,y) (x)
+#undef NP_
#define NP_(x,y) (x)
#define getarg_i18n NULL
#define bindtextdomain(package, localedir)