tests: Fix resampler-test compilation without NLS support

This commit is contained in:
Peter Meerwald 2011-12-14 16:07:57 +01:00 committed by Arun Raghavan
parent be9ef2e96c
commit 5a908ae513

View file

@ -323,7 +323,9 @@ int main(int argc, char *argv[]) {
}; };
setlocale(LC_ALL, ""); setlocale(LC_ALL, "");
#ifdef ENABLE_NLS
bindtextdomain(GETTEXT_PACKAGE, PULSE_LOCALEDIR); bindtextdomain(GETTEXT_PACKAGE, PULSE_LOCALEDIR);
#endif
pa_log_set_level(PA_LOG_WARN); pa_log_set_level(PA_LOG_WARN);
if (!getenv("MAKE_CHECK")) if (!getenv("MAKE_CHECK"))