Fix iconv signature on BSD systems. (Based on what we do in tools/)
svn-id: r49868
This commit is contained in:
parent
cf6a29e862
commit
0d7c8071cc
2 changed files with 16 additions and 0 deletions
|
@ -119,7 +119,11 @@ bool TranslationManager::convert(const char *message) {
|
|||
char *msgcpy = new char[len + 1];
|
||||
strcpy(msgcpy, message);
|
||||
char *msg = msgcpy;
|
||||
#ifdef ICONV_USES_CONST
|
||||
const char **pmsg = &msg;
|
||||
#else
|
||||
char **pmsg = &msg;
|
||||
#endif
|
||||
|
||||
// Preparing conversion destination
|
||||
size_t len2 = _sizeconv;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue