[freetds] iconv_t

Frediano Ziglio freddyz77 at tin.it
Fri Apr 11 01:41:01 EDT 2003

Il ven, 2003-04-11 alle 06:28, James K. Lowden ha scritto:
> One more item. 
> 	iconv_info->to_wire = (iconv_t) -1;
> 	iconv_info->from_wire = (iconv_t) -1;
> #endif
> Is the problem that iconv_t is not defined in Win32?  If so, let's handle
> that in config.h.  

Yes, iconv_t do not exists in win32.. Also Mac OS X have different

> I am trying to get rid of #if HAVE_ICONV, and make the code flow straight
> through. 

Perhaps different files for different implementations (iconv, win32, Mac
OS X, other) and #if HAVE_ICONV surrounding all the file ??

> Also, we need these initialized, to decide whether or not to call iconv,
> cf iconv.c:171.  There are times we'll have iconv linked in, but for a
> particular server, connection, or charset we won't want to (or won't be
> able to) use iconv.  


More information about the FreeTDS mailing list