diff options
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/gettext.h | 2 | ||||
-rw-r--r-- | libs/ardour/globals.cc | 2 | ||||
-rw-r--r-- | libs/gtkmm2ext/gettext.h | 2 | ||||
-rw-r--r-- | libs/gtkmm2ext/utils.cc | 2 | ||||
-rw-r--r-- | libs/pbd/gettext.h | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/libs/ardour/gettext.h b/libs/ardour/gettext.h index 2645402e95..339c74ffe7 100644 --- a/libs/ardour/gettext.h +++ b/libs/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> diff --git a/libs/ardour/globals.cc b/libs/ardour/globals.cc index e3e24378c5..fc17b3a5e9 100644 --- a/libs/ardour/globals.cc +++ b/libs/ardour/globals.cc @@ -444,7 +444,7 @@ ARDOUR::init (bool use_windows_vst, bool try_optimization, const char* localedir if (!PBD::init()) return false; -#ifdef ENABLE_NLS +#if ENABLE_NLS (void) bindtextdomain(PACKAGE, localedir); (void) bind_textdomain_codeset (PACKAGE, "UTF-8"); #endif diff --git a/libs/gtkmm2ext/gettext.h b/libs/gtkmm2ext/gettext.h index 2645402e95..339c74ffe7 100644 --- a/libs/gtkmm2ext/gettext.h +++ b/libs/gtkmm2ext/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> diff --git a/libs/gtkmm2ext/utils.cc b/libs/gtkmm2ext/utils.cc index 147256b426..06cd0b82a9 100644 --- a/libs/gtkmm2ext/utils.cc +++ b/libs/gtkmm2ext/utils.cc @@ -44,7 +44,7 @@ using namespace std; void Gtkmm2ext::init (const char* localedir) { -#ifdef ENABLE_NLS +#if ENABLE_NLS (void) bindtextdomain(PACKAGE, localedir); (void) bind_textdomain_codeset (PACKAGE, "UTF-8"); #endif 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> |