summaryrefslogtreecommitdiff
path: root/src/sys2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys2.h')
-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