]> code.delx.au - pulseaudio/blobdiff - src/pulsecore/i18n.h
build-sys: Fix building without NLS
[pulseaudio] / src / pulsecore / i18n.h
index d828becda81ec2f0a6896f3da6909d2947afa9f8..b206867e33a0b0af0f8435737bb1702670b96e46 100644 (file)
 
 PA_C_DECL_BEGIN
 
+#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)