diff options
author | Stefan Kost <ensonic@users.sf.net> | 2010-03-11 10:00:45 +0200 |
---|---|---|
committer | Stefan Kost <ensonic@users.sf.net> | 2010-03-11 10:04:27 +0200 |
commit | 59bf16352b779911575e55697c7b34e90018cee8 (patch) | |
tree | 6d95beb621fc37fdde663aad0ef7c0ebbfd69737 | |
parent | a184419ec5514a9fe804e69cf8bc51eba08b6f84 (diff) | |
download | gstreamer-59bf16352b779911575e55697c7b34e90018cee8.tar.gz |
i18n: fix the build with i18n disabled.
Don't include gettext.h if !ENABLE_NLS.
-rw-r--r-- | gst/gst-i18n-app.h | 4 | ||||
-rw-r--r-- | gst/gst-i18n-lib.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gst/gst-i18n-app.h b/gst/gst-i18n-app.h index 65e27ba6cb..f94dd60067 100644 --- a/gst/gst-i18n-app.h +++ b/gst/gst-i18n-app.h @@ -23,10 +23,10 @@ #ifndef __GST_I18N_APP_H__ #define __GST_I18N_APP_H__ -#include "gettext.h" /* included with gettext distribution and copied */ - #ifdef ENABLE_NLS +#include "gettext.h" /* included with gettext distribution and copied */ + /* we want to use shorthand _() for translating and N_() for marking */ #define _(String) gettext (String) #define N_(String) gettext_noop (String) diff --git a/gst/gst-i18n-lib.h b/gst/gst-i18n-lib.h index ebce721054..265dcae8ff 100644 --- a/gst/gst-i18n-lib.h +++ b/gst/gst-i18n-lib.h @@ -27,10 +27,10 @@ #error You must include config.h before including this header. #endif -#include "gettext.h" /* included with gettext distribution and copied */ - #ifdef ENABLE_NLS +#include "gettext.h" /* included with gettext distribution and copied */ + /* we want to use shorthand _() for translating and N_() for marking */ #define _(String) dgettext (GETTEXT_PACKAGE, String) #define N_(String) gettext_noop (String) |