summaryrefslogtreecommitdiff
path: root/gtk2_ardour/gettext.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2018-09-21 19:04:06 +0200
committerRobin Gareus <robin@gareus.org>2018-09-21 19:04:06 +0200
commitdade5fca7d452b99b640ff139a16c9e606257f09 (patch)
tree2ae1043f7644497431f73f75633369bb7c9d6dae /gtk2_ardour/gettext.h
parent497a3fbaa1ea089ec926a122fb833df320066efc (diff)
Fix --no-nls (3/5), prefer #if in gtk2_ardour
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 'gtk2_ardour/gettext.h')
-rw-r--r--gtk2_ardour/gettext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/gettext.h b/gtk2_ardour/gettext.h
index 2645402e95..339c74ffe7 100644
--- a/gtk2_ardour/gettext.h
+++ b/gtk2_ardour/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>