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. >
When autoconf already provides this macro then we should use it and test for it with the other build systems. Peter P.S. And I was so fascinated by my template solution ... ;)