diff options
author | Robin Gareus <robin@gareus.org> | 2018-09-21 19:03:33 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2018-09-21 19:03:33 +0200 |
commit | 497a3fbaa1ea089ec926a122fb833df320066efc (patch) | |
tree | 8e04b89be15f2fff246b1ffc673e6ddbcd19e926 /libs/ardour/globals.cc | |
parent | df2a18ec1c7be3777db18f07769aa1677147c321 (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/ardour/globals.cc')
-rw-r--r-- | libs/ardour/globals.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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 |