git.stg.codes
/
stg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d771cb1
)
Another iconv...
author
Maxim Mamontov
<faust.madf@gmail.com>
Mon, 1 Jun 2015 20:11:50 +0000
(23:11 +0300)
committer
Maxim Mamontov
<faust.madf@gmail.com>
Mon, 1 Jun 2015 20:11:50 +0000
(23:11 +0300)
projects/sgconf/common_sg.cpp
patch
|
blob
|
history
diff --git
a/projects/sgconf/common_sg.cpp
b/projects/sgconf/common_sg.cpp
index 27f0b9f9af8b6bc01c899cdbe3be705c11c2b046..9c1b7283705bdf3cbc1652811e847c463b55cab9 100644
(file)
--- 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);