summaryrefslogtreecommitdiffstats
path: root/libidu/xnls.h
diff options
context:
space:
mode:
Diffstat (limited to 'libidu/xnls.h')
-rw-r--r--libidu/xnls.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/libidu/xnls.h b/libidu/xnls.h
index f7f5b45..4d606e1 100644
--- a/libidu/xnls.h
+++ b/libidu/xnls.h
@@ -22,19 +22,11 @@
/* Take care of NLS matters. */
-#if HAVE_LOCALE_H
-# include <locale.h>
-#endif
-#if !HAVE_SETLOCALE
-# define setlocale(Category, Locale) /* empty */
-#endif
+#include "gettext.h"
#if ENABLE_NLS
-# include <libintl.h>
# define _(Text) gettext (Text)
#else
-# define bindtextdomain(Domain, Directory) /* empty */
-# define textdomain(Domain) /* empty */
# define _(Text) Text
#endif