Abdelrazak Younes wrote:
Lars Gullik Bjønnes wrote:
Abdelrazak Younes <[EMAIL PROTECTED]> writes:
| I would personally simply
| go for an #ifdef in uicode.C for now:
| | /* Define as const if the declaration of iconv() needs const. */
| #ifdef WIN32
| #define ICONV_CONST const
| #else
| #define ICONV_CONST
| #endif
| | Then, that could be changed when/if someone has the autoconf and
scons
| knowledge to do the test on the iconv prototype.
autoconf/automake already create this macros/define, so it should be
put in the config.h created by scons.
Good, then I'll try to do the change for scons.
It seems to be there already:
(conf.CheckIconvConst(),
'ICONV_CONST',
'Define as const if the declaration of iconv()
needs const.',
'#define ICONV_CONST',
'#define ICONV_CONST const',
),
Bo did a good job with scons :-)
Abdel.