From 497a3fbaa1ea089ec926a122fb833df320066efc Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 21 Sep 2018 19:03:33 +0200 Subject: 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 --- libs/pbd/gettext.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/pbd/gettext.h') 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 -- cgit v1.2.3