tng 2002/12/02 12:41:30 Modified: c/src/xercesc/util/Transcoders/Iconv IconvTransService.cpp Log: [Bug 12490] Patches required to build Xerces-C++ on BeOS R5. Patch from Andrew Bachmann. Revision Changes Path 1.6 +12 -2 xml-xerces/c/src/xercesc/util/Transcoders/Iconv/IconvTransService.cpp Index: IconvTransService.cpp =================================================================== RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/Transcoders/Iconv/IconvTransService.cpp,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- IconvTransService.cpp 4 Nov 2002 15:14:33 -0000 1.5 +++ IconvTransService.cpp 2 Dec 2002 20:41:29 -0000 1.6 @@ -67,7 +67,17 @@ #include "IconvTransService.hpp" #include <wchar.h> #if defined (XML_GCC) || defined (XML_PTX) || defined (XML_IBMVAOS2) - #if !defined(XML_OPENSERVER) + #if defined(XML_BEOS) + wint_t towlower(wint_t wc) { + return ((wc>'A')&&(wc<'Z') ? wc+'a'-'A' : wc); + } + wint_t towupper(wint_t wc) { + return ((wc>'a')&&(wc<'z') ? wc-'a'+'A' : wc); + } + wint_t iswspace(wint_t wc) { + return (wc==(wint_t)' '); + } + #elif !defined(XML_OPENSERVER) #include <wctype.h> #endif #endif
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]