git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Ticket 37. test<11>, test<12>, test<13> added. Current time argument
[stg.git]
/
projects
/
sgconf
/
common_sg.cpp
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);