diff options
author | Jim Meyering <jim@meyering.net> | 2003-08-18 12:09:42 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-08-18 12:09:42 +0000 |
commit | 74ed024a232f0ea103520eba7b3b9347cb03728a (patch) | |
tree | eee604f01b48bdbe7beb462ce93dd64650c1cd73 /src | |
parent | 48e6983c881f9990cba962a91004143503471a8c (diff) | |
download | coreutils-74ed024a232f0ea103520eba7b3b9347cb03728a.tar.xz |
(textdomain, bindtextdomain) [! ENABLE_NLS]: Define away,
to avoid warnings from gcc.
Diffstat (limited to 'src')
-rw-r--r-- | src/sys2.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sys2.h b/src/sys2.h index ac37547d7..79fff1476 100644 --- a/src/sys2.h +++ b/src/sys2.h @@ -336,6 +336,12 @@ #endif #include "gettext.h" +#if ! ENABLE_NLS +# undef textdomain +# define textdomain(Domainname) /* empty */ +# undef bindtextdomain +# define bindtextdomain(Domainname, Dirname) /* empty */ +#endif #define _(msgid) gettext (msgid) #define N_(msgid) msgid |