Win32 iconv fixes.

This commit is contained in:
Ron Pedde 2007-09-04 07:34:18 +00:00
parent 0be8f98a40
commit 9d9533a07a
2 changed files with 6 additions and 2 deletions

View File

@ -143,8 +143,8 @@ int util_xtoy(unsigned char *dbuffer, int dlen, unsigned char *sbuffer, int slen
size_t csize; size_t csize;
/* type punning warnings */ /* type punning warnings */
size_t st_dlen = dlen; size_t st_dlen = (size_t)dlen;
size_t st_slen = slen; size_t st_slen = (size_t)slen;
char *st_dbuffer = dbuffer; char *st_dbuffer = dbuffer;
ICONV_CONST char *st_sbuffer = sbuffer; ICONV_CONST char *st_sbuffer = sbuffer;

View File

@ -148,6 +148,10 @@
/* */ /* */
#define HAVE_SQL #define HAVE_SQL
#define HAVE_ICONV
#define ICONV_CONST const
/* Version number of package */ /* Version number of package */
#define VERSION "svn-$WCREV$" #define VERSION "svn-$WCREV$"
#define BUILD_DATE "$WCNOW$" #define BUILD_DATE "$WCNOW$"