[pulseaudio-discuss] [PATCH] resampler-tests: fix compilation w/o NLS support

Peter Meerwald pmeerw at pmeerw.net
Wed Dec 14 07:07:57 PST 2011


From: Peter Meerwald <p.meerwald at bct-electronic.com>

---
 src/tests/resampler-test.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/tests/resampler-test.c b/src/tests/resampler-test.c
index ebd6fdd..87681c6 100644
--- a/src/tests/resampler-test.c
+++ b/src/tests/resampler-test.c
@@ -323,7 +323,9 @@ int main(int argc, char *argv[]) {
     };
 
     setlocale(LC_ALL, "");
+#ifdef ENABLE_NLS
     bindtextdomain(GETTEXT_PACKAGE, PULSE_LOCALEDIR);
+#endif
 
     pa_log_set_level(PA_LOG_WARN);
     if (!getenv("MAKE_CHECK"))
-- 
1.7.4.1



More information about the pulseaudio-discuss mailing list