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 /gst/gst-i18n-app.h | |
parent | a184419ec5514a9fe804e69cf8bc51eba08b6f84 (diff) | |
download | gstreamer-59bf16352b779911575e55697c7b34e90018cee8.tar.gz |
i18n: fix the build with i18n disabled.
Don't include gettext.h if !ENABLE_NLS.
Diffstat (limited to 'gst/gst-i18n-app.h')
-rw-r--r-- | gst/gst-i18n-app.h | 4 |
1 files changed, 2 insertions, 2 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) |