diff options
author | Jim Meyering <jim@meyering.net> | 2001-01-03 09:44:56 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-01-03 09:44:56 +0000 |
commit | 5aa665a62444788e6ef5d6cfdd723b32bdf8a87e (patch) | |
tree | 63c4159b22b34ee3352a46aebb20839723c3a7c2 /src | |
parent | 85a5e683e85e73494d184eaf30b19d7081cf2c9e (diff) | |
download | coreutils-5aa665a62444788e6ef5d6cfdd723b32bdf8a87e.tar.xz |
(dcgettext): New macro.
Diffstat (limited to 'src')
-rw-r--r-- | src/sys2.h | 5 |
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 |