From 1d95c81b71982af419d945a964cc657c44ef40b1 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Mon, 1 Jun 2015 23:11:50 +0300 Subject: [PATCH] Another iconv... --- projects/sgconf/common_sg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.43.2