diff options
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/mms.c | 4 | ||||
-rw-r--r-- | src/input/vcd/libcdio/iso9660_fs.c | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/input/mms.c b/src/input/mms.c index aee2d2f5c..48fcbdb30 100644 --- a/src/input/mms.c +++ b/src/input/mms.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: mms.c,v 1.57 2006/04/19 17:30:12 dsalt Exp $ + * $Id: mms.c,v 1.58 2006/06/10 00:21:51 dgp85 Exp $ * * MMS over TCP protocol * based on work from major mms @@ -45,7 +45,7 @@ #include <stdlib.h> #include <time.h> -#if defined(HAVE_ICONV) && defined(HAVE_LANGINFO_CODESET) +#if defined(HAVE_ICONV) && defined(HAVE_NL_LANGINFO) #define USE_ICONV #include <iconv.h> #include <locale.h> diff --git a/src/input/vcd/libcdio/iso9660_fs.c b/src/input/vcd/libcdio/iso9660_fs.c index 0f49dfe5e..d4ba945c0 100644 --- a/src/input/vcd/libcdio/iso9660_fs.c +++ b/src/input/vcd/libcdio/iso9660_fs.c @@ -1,5 +1,5 @@ /* - $Id: iso9660_fs.c,v 1.3 2005/01/01 02:43:57 rockyb Exp $ + $Id: iso9660_fs.c,v 1.4 2006/06/10 00:21:51 dgp85 Exp $ Copyright (C) 2001 Herbert Valerio Riedel <hvr@gnu.org> Copyright (C) 2003, 2004 Rocky Bernstein <rocky@panix.com> @@ -35,7 +35,7 @@ # include <iconv.h> #endif -#ifdef HAVE_LANGINFO_CODESET +#ifdef HAVE_NL_LANGINFO #include <langinfo.h> #endif @@ -51,7 +51,7 @@ #include <stdio.h> -static const char _rcsid[] = "$Id: iso9660_fs.c,v 1.3 2005/01/01 02:43:57 rockyb Exp $"; +static const char _rcsid[] = "$Id: iso9660_fs.c,v 1.4 2006/06/10 00:21:51 dgp85 Exp $"; /* Implementation of iso9660_t type */ struct _iso9660 { @@ -148,7 +148,7 @@ ucs2be_to_locale(ICONV_CONST char *psz_ucs2be, size_t i_inlen, { iconv_t ic = -#if defined(HAVE_LANGINFO_CODESET) +#if defined(HAVE_NL_LANGINFO) iconv_open(nl_langinfo(CODESET), "UCS-2BE"); #else iconv_open("ASCII", "UCS-2BE"); @@ -161,7 +161,7 @@ ucs2be_to_locale(ICONV_CONST char *psz_ucs2be, size_t i_inlen, int i_outlen_actual; if (-1 == (size_t) ic) { -#if defined(HAVE_LANGINFO_CODESET) +#if defined(HAVE_NL_LANGINFO) cdio_info("Failed to get conversion table for locale, trying ASCII"); ic = iconv_open("ASCII", "UCS-2BE"); if (-1 == (size_t) ic) { |