summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-01-03 09:44:56 +0000
committerJim Meyering <jim@meyering.net>2001-01-03 09:44:56 +0000
commit5aa665a62444788e6ef5d6cfdd723b32bdf8a87e (patch)
tree63c4159b22b34ee3352a46aebb20839723c3a7c2
parent85a5e683e85e73494d184eaf30b19d7081cf2c9e (diff)
downloadcoreutils-5aa665a62444788e6ef5d6cfdd723b32bdf8a87e.tar.xz
(dcgettext): New macro.
-rw-r--r--src/sys2.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sys2.h b/src/sys2.h
index 7eda8ef3a..5d5b72aec 100644
--- a/src/sys2.h
+++ b/src/sys2.h
@@ -264,12 +264,17 @@ char *alloca ();
#if ENABLE_NLS
# include <libintl.h>
+# if HAVE_GETTEXT && !HAVE_DCGETTEXT && !defined dcgettext
+# define dcgettext(Domain, Text, Category) Text
+# endif
# define _(Text) gettext (Text)
#else
# undef bindtextdomain
# define bindtextdomain(Domain, Directory) /* empty */
# undef textdomain
# define textdomain(Domain) /* empty */
+# undef dcgettext
+# define dcgettext(Domainname, Text, Category) Text
# define _(Text) Text
#endif
#define N_(Text) Text