diff --git a/src/im.c b/src/im.c index c528ff018..477f93842 100644 --- a/src/im.c +++ b/src/im.c @@ -572,9 +572,11 @@ static int charmap_load(CHARMAP* cm, const char* path) size_t i = 0; #ifndef __BEOS__ +#if defined __GLIBC__ && __GLIBC__ == 2 && __GLIBC_MINOR__ >=2 || __GLIBC__ > 2 || __APPLE__ fwprintf(stderr, L"Unable to add sequence '%ls', unicode ", buf); for(i = 0; i < wcslen(unicode); i++) fwprintf(stderr, L"%04X ", (int)unicode[i]); fwprintf(stderr, L"in section %d\n", section); +#endif #endif error_code = 1;