texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texmacs-dev] iconv support on cygwin


From: Andreas Seidl
Subject: Re: [Texmacs-dev] iconv support on cygwin
Date: Tue, 3 Feb 2004 20:01:43 +0100 (CET)

On Tue, 3 Feb 2004, Martin Costabel wrote:

> Dont't you have lines like
> 
> #define iconv_open libiconv_open
> 
> in your /usr/include/iconv.h?


Definitively not!


$ grep -R "iconv_open" *
c++/3.3.1/i686-pc-cygwin/bits/c++config.h:/* Define if you have the 
iconv_open function.  */
c++/3.3.1/i686-pc-mingw32/bits/c++config.h:/* Define if you have the 
iconv_open function.  */
iconv.h:_EXFUN(iconv_open, (_CONST char *, _CONST char *));
iconv.h:_EXFUN(_iconv_open_r, (struct _reent *, _CONST char *, _CONST char 
*));


The file iconv.h:


/* Copyright (c) 1999,2000
 *    Konstantin Chuguev.  All rights reserved.
 *
[...]
*    iconv (Charset Conversion Library) v2.0
 */

#ifndef _ICONV_H_
#define _ICONV_H_

#include <_ansi.h>
#include <sys/types.h>
#include <reent.h>

/* iconv_t: charset conversion descriptor type */
typedef _iconv_t iconv_t;

_BEGIN_STD_C
#ifndef _REENT_ONLY
iconv_t 
_EXFUN(iconv_open, (_CONST char *, _CONST char *));

size_t
_EXFUN(iconv, (iconv_t, _CONST char **, size_t *, char **, size_t *));

int
_EXFUN(iconv_close, (iconv_t));
#endif

iconv_t
_EXFUN(_iconv_open_r, (struct _reent *, _CONST char *, _CONST char *));

size_t
_EXFUN(_iconv_r, (struct _reent *, iconv_t, _CONST char **, 
                  size_t *, char **, size_t *));

int
_EXFUN(_iconv_close_r, (struct _reent *, iconv_t));

_END_STD_C

#endif /* #ifndef _ICONV_H_ */


Andreas.
--
http://www.fmi.uni-passau.de/~seidl






reply via email to

[Prev in Thread] Current Thread [Next in Thread]