Some debug messages were disabled for old environment which don't have

fwprintf(), such as redhat-6.x.
This commit is contained in:
Shin-ichi TOYAMA 2008-06-27 02:35:26 +00:00
parent 9d61272550
commit b04d4720ce

View file

@ -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;