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

Arun Raghavan arun.raghavan at collabora.co.uk
Wed Dec 14 08:28:48 PST 2011


On Wed, 2011-12-14 at 16:07 +0100, Peter Meerwald wrote:
> 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"))

Merged, thanks!

-- Arun



More information about the pulseaudio-discuss mailing list