]> git.stg.codes - stg.git/blobdiff - projects/sgconf/common_sg.cpp
Ticket 26. The const MODULE_SETTINGS & ms parameter added,
[stg.git] / projects / sgconf / common_sg.cpp
index 27f0b9f9af8b6bc01c899cdbe3be705c11c2b046..9c1b7283705bdf3cbc1652811e847c463b55cab9 100644 (file)
@@ -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);