From e516315b49c489150e2f3d3dd0ca356e141eea62 Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Mon, 31 Mar 2003 09:43:39 +0000 Subject: take care of configure checks about nl_langinfo CVS patchset: 4519 CVS date: 2003/03/31 09:43:39 --- src/xine-engine/osd.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/xine-engine/osd.c b/src/xine-engine/osd.c index 8e896b9e8..336197f4b 100644 --- a/src/xine-engine/osd.c +++ b/src/xine-engine/osd.c @@ -34,7 +34,10 @@ #include #include #include + +#ifdef HAVE_LANGINFO_CODESET #include +#endif #include "xine_internal.h" #include "video_out/alphablend.h" @@ -709,7 +712,7 @@ static int osd_render_text (osd_object_t *osd, int x1, int y1, inbytesleft = strlen(text); if (!encoding) { -#ifdef ENABLE_NLS +#ifdef HAVE_LANGINFO_CODESET if ((encoding = nl_langinfo(CODESET)) == NULL) { printf(_("osd: can't find out current locale character set\n")); encoding = "iso-8859-1"; -- cgit v1.2.3