From: Maxim Mamontov Date: Mon, 1 Jun 2015 20:11:50 +0000 (+0300) Subject: Another iconv... X-Git-Tag: 2.409~180 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/1d95c81b71982af419d945a964cc657c44ef40b1 Another iconv... --- diff --git a/projects/sgconf/common_sg.cpp b/projects/sgconf/common_sg.cpp index 27f0b9f9..9c1b7283 100644 --- a/projects/sgconf/common_sg.cpp +++ b/projects/sgconf/common_sg.cpp @@ -259,7 +259,7 @@ if (cd == (iconv_t) -1) exit(ICONV_ERR_CODE); } -#if defined(FREE_BSD) || defined(FREE_BSD5) +#if defined(CONST_ICONV) nconv = iconv(cd, (const char **)&inbuf, &insize, &outbuf, &outsize); #else nconv = iconv(cd, &inbuf, &insize, &outbuf, &outsize);