From: Maxim Mamontov Date: Mon, 1 Jun 2015 20:01:09 +0000 (+0300) Subject: Fixed hardcoded iconv in sgconf. X-Git-Tag: 2.409~181 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/d771cb1c8b24c9951993e1e1cce17a15d907680b?ds=sidebyside Fixed hardcoded iconv in sgconf. --- diff --git a/projects/sgconf/main.cpp b/projects/sgconf/main.cpp index e0ab43ce..b107ee95 100644 --- a/projects/sgconf/main.cpp +++ b/projects/sgconf/main.cpp @@ -369,7 +369,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);