]> git.meshlink.io Git - catta/commitdiff
don't require GETTEXT_PACKAGE unless compiling with ENABLE_NLS
authorSven M. Hallberg <pesco@khjk.org>
Mon, 18 Aug 2014 14:51:16 +0000 (16:51 +0200)
committerSven M. Hallberg <pesco@khjk.org>
Mon, 18 Aug 2014 14:51:16 +0000 (16:51 +0200)
avahi-common/i18n.h

index 2a613e58feccce3130698cbfb48ed28cb05eafde..f46931de40beab50ee1d622c17886b2f3edf1c40 100644 (file)
   USA.
 ***/
 
+#ifdef ENABLE_NLS
+
 #if !defined(GETTEXT_PACKAGE)
 #error "Something is very wrong here, config.h needs to be included first"
 #endif
 
-#ifdef ENABLE_NLS
-
 #include <libintl.h>
 
 #define _(String) dgettext(GETTEXT_PACKAGE, String)