From 5ebf6444cbda3e77161551104a5b78fab56ad68f Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Mon, 22 Mar 2010 18:02:39 +0200 Subject: [PATCH] i18n: build fixes: #if -> #ifdef for ENABLE_NLS --- gst-libs/gst/gettext.h | 2 +- gst/videomeasure/gstvideomeasure.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gst-libs/gst/gettext.h b/gst-libs/gst/gettext.h index 8b262f4cfd..59902b35ee 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 +#ifdef ENABLE_NLS /* Get declarations of GNU message catalog functions. */ # include diff --git a/gst/videomeasure/gstvideomeasure.c b/gst/videomeasure/gstvideomeasure.c index 34b227a851..c0bd86cc0e 100644 --- a/gst/videomeasure/gstvideomeasure.c +++ b/gst/videomeasure/gstvideomeasure.c @@ -49,7 +49,7 @@ plugin_init (GstPlugin * plugin) { gboolean res; -#if ENABLE_NLS +#ifdef ENABLE_NLS GST_DEBUG ("binding text domain %s to locale dir %s", GETTEXT_PACKAGE, LOCALEDIR); bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);