aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorFritz Elfert <felfert@to.com>2001-07-26 14:44:04 +0000
committerFritz Elfert <felfert@to.com>2001-07-26 14:44:04 +0000
commit0cf4829cd0a704ff1e39834d246ee35be5ee8b13 (patch)
treecb1b6a8ca68e3271211d6d2b34c1f67bee7a513b /lib
parentfb63e94110d271b1ab346fa598d318e458b9bbd7 (diff)
downloadplptools-0cf4829cd0a704ff1e39834d246ee35be5ee8b13.tar.gz
plptools-0cf4829cd0a704ff1e39834d246ee35be5ee8b13.tar.bz2
plptools-0cf4829cd0a704ff1e39834d246ee35be5ee8b13.zip
Make unconditional gettext conditional.
Diffstat (limited to 'lib')
-rw-r--r--lib/plpintl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/plpintl.h b/lib/plpintl.h
index f1caa62..cd97428 100644
--- a/lib/plpintl.h
+++ b/lib/plpintl.h
@@ -19,9 +19,11 @@ extern inline char * stpcpy(char *dest, const char *src) {
#if defined(ENABLE_NLS) && defined(HAVE_GETTEXT)
# include <libintl.h>
+# define X_(x) gettext(x)
# define N_(x) (x)
# define _(x) gettext(x)
#else
+# define X_(x) (x)
# define N_(x) (x)
# define _(x) (x)
# define textdomain(x)