summaryrefslogtreecommitdiff
path: root/poptint.h
diff options
context:
space:
mode:
authorewt <ewt>1998-10-29 22:52:03 +0000
committerewt <ewt>1998-10-29 22:52:03 +0000
commit915018419b4f3fe3c9705a0feef375c8cced0917 (patch)
tree47a2ca4bb2eb6ce7e92f22e661b968867984344d /poptint.h
parent7124dbd013a67f74c16745719441248888d867c4 (diff)
downloadlibpopt-915018419b4f3fe3c9705a0feef375c8cced0917.tar.gz
added POPT_ARG_INTL_DOMAIN (Elliot Lee)
updated Makefile's to be more GNUish (Elliot Lee)
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)