summaryrefslogtreecommitdiff
path: root/libs/pbd/gettext.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2018-09-21 19:03:33 +0200
committerRobin Gareus <robin@gareus.org>2018-09-21 19:03:33 +0200
commit497a3fbaa1ea089ec926a122fb833df320066efc (patch)
tree8e04b89be15f2fff246b1ffc673e6ddbcd19e926 /libs/pbd/gettext.h
parentdf2a18ec1c7be3777db18f07769aa1677147c321 (diff)
Fix --no-nls (2/5), prefer #if in libs
This is for consistency with system-wide gettext.h which is used by some 3rd party libs. system-wide gettext uses `#if ENABLE_NLS`, not #ifdef
Diffstat (limited to 'libs/pbd/gettext.h')
-rw-r--r--libs/pbd/gettext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/pbd/gettext.h b/libs/pbd/gettext.h
index 2645402e95..339c74ffe7 100644
--- a/libs/pbd/gettext.h
+++ b/libs/pbd/gettext.h
@@ -20,7 +20,7 @@
#define _LIBGETTEXT_H 1
/* NLS can be disabled through the configure --disable-nls option. */
-#ifdef ENABLE_NLS
+#if ENABLE_NLS
/* Get declarations of GNU message catalog functions. */
# include <libintl.h>