i18n: build fixes: #if -> #ifdef for ENABLE_NLS

This commit is contained in:
Stefan Kost 2010-03-22 18:02:39 +02:00
parent 70211451be
commit 5ebf6444cb
2 changed files with 2 additions and 2 deletions

View file

@ -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 <libintl.h>

View file

@ -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);