From 19900b481a5d4c981ecbf2e7c4b673efd51d9b1b Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Tue, 16 Mar 2010 18:06:16 +0100 Subject: [PATCH] Fix for ENABLE_NLS being undefined for -Wundef --- gst-libs/gst/gettext.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/gettext.h b/gst-libs/gst/gettext.h index 8b262f4cfd..727bdb0241 100644 --- a/gst-libs/gst/gettext.h +++ b/gst-libs/gst/gettext.h @@ -20,7 +20,7 @@ #define _LIBGETTEXT_H 1 /* NLS can be disabled through the configure --disable-nls option. */ -#if ENABLE_NLS +#if defined (ENABLE_NLS) && ENABLE_NLS /* Get declarations of GNU message catalog functions. */ # include