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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux