summaryrefslogtreecommitdiff
path: root/support/poptint.h
diff options
context:
space:
mode:
authorErik Troan <ewt@src.gnome.org>1998-10-29 22:52:06 +0000
committerErik Troan <ewt@src.gnome.org>1998-10-29 22:52:06 +0000
commitc35d1e08cbb33be50681da0dfa2b865a354c3dec (patch)
tree382cd272ebdac6b3774941026841670465028424 /support/poptint.h
parent9a854dfe11011fd23f55d6a937b453dab59f6274 (diff)
downloadshared-mime-info-c35d1e08cbb33be50681da0dfa2b865a354c3dec.tar.gz
added POPT_ARG_INTL_DOMAIN (Elliot Lee)
updated Makefile's to be more GNUish (Elliot Lee) svn path=/trunk/; revision=460
Diffstat (limited to 'support/poptint.h')
-rw-r--r--support/poptint.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/support/poptint.h b/support/poptint.h
index 5d99be57..8fc6a84c 100644
--- a/support/poptint.h
+++ b/support/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)