From: Peter Meerwald Date: Wed, 14 Dec 2011 15:07:57 +0000 (+0100) Subject: tests: Fix resampler-test compilation without NLS support X-Git-Tag: v1.99.1~103 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5a908ae513c48c1e37686c0fdc4c066811af8df1;p=platform%2Fupstream%2Fpulseaudio.git tests: Fix resampler-test compilation without NLS support --- 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"))