summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-07-27 22:29:01 +0000
committerJim Meyering <jim@meyering.net>1996-07-27 22:29:01 +0000
commit6932ade12ed26872e975105d676b5d5b36871f8e (patch)
tree32132ec800b08b5105bcea237ecd7ed443763337 /src
parentc49c9a04e1d14c478238aa38c2653d1e84641c65 (diff)
downloadcoreutils-6932ade12ed26872e975105d676b5d5b36871f8e.tar.xz
(bindtextdomain) [!ENABLE_NLS]: Undefine to avoid
redefinition warnings on solaris. (textdomain) [!ENABLE_NLS]: Likewise.
Diffstat (limited to 'src')
-rw-r--r--src/system.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/system.h b/src/system.h
index 8b906aaec..a975336eb 100644
--- a/src/system.h
+++ b/src/system.h
@@ -345,7 +345,9 @@ char *alloca ();
# include <libintl.h>
# define _(Text) gettext (Text)
#else
+# undef bindtextdomain
# define bindtextdomain(Domain, Directory) /* empty */
+# undef textdomain
# define textdomain(Domain) /* empty */
# define _(Text) Text
#endif