Description
Builds on Solaris and Mac OS/X typically fail unless the wchar_t methods are suppressed since the implementations of UnicodeHelper::decodeWide and UnicodeHelper::encodeWide are missing since the nature of wchar_t cannot be determined. This patch moves those methods out of UnicodeHelper and into charsetdecoder.cpp and charsetencoder.cpp in a manner that allows log4cxx to be built even if the nature of wchar_t cannot be determined. With the changes, applications using log4cxx will link and simple applications have been tested on Solaris.