git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added functions to convert strings into uids/gids/modes.
[stg.git]
/
projects
/
sgconf
/
main.cpp
diff --git
a/projects/sgconf/main.cpp
b/projects/sgconf/main.cpp
index e0ab43ced7c2caba4c80fa83c730cd9aea6e5d84..b107ee9515c1265e589ebfcd6924c8fc3ac77143 100644
(file)
--- 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);