summaryrefslogtreecommitdiff
path: root/poptint.h
diff options
context:
space:
mode:
Diffstat (limited to 'poptint.h')
-rw-r--r--poptint.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/poptint.h b/poptint.h
index 5d99be5..8fc6a84 100644
--- a/poptint.h
+++ b/poptint.h
@@ -54,9 +54,11 @@ struct poptContext_s {
#endif
#ifdef HAVE_DGETTEXT
-#define POPT_(foo) dgettext("popt", foo)
+#define D_(dom, str) dgettext(dom, str)
+#define POPT_(foo) D_("popt", foo)
#else
#define POPT_(foo) (foo)
+#define D_(dom, str) (str)
#endif
#define N_(foo) (foo)