diff options
Diffstat (limited to 'test/hangul.c')
-rw-r--r-- | test/hangul.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/hangul.c b/test/hangul.c index 4023759..7f829a3 100644 --- a/test/hangul.c +++ b/test/hangul.c @@ -15,10 +15,14 @@ #define UCS4 "UCS-4LE" #endif +#ifndef ICONV_CONST +#define ICONV_CONST +#endif + void ucs4_to_utf8(char *buf, const ucschar *ucs4, size_t bufsize) { size_t n; - char* inbuf; + ICONV_CONST char* inbuf; size_t inbytesleft; char* outbuf; size_t outbytesleft; |