From: Oliver M. <ter...@us...> - 2007-07-28 20:38:42
|
Update of /cvsroot/aaf/AAF/ref-impl/src/OM In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv10852 Modified Files: utf8.cpp Log Message: add #if to match other copies of utf8.cpp Index: utf8.cpp =================================================================== RCS file: /cvsroot/aaf/AAF/ref-impl/src/OM/utf8.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** utf8.cpp 5 Nov 2004 11:58:12 -0000 1.4 --- utf8.cpp 28 Jul 2007 20:38:41 -0000 1.5 *************** *** 50,53 **** --- 50,54 ---- m[3]='\0'; return 3; } + #if WCHAR_MAX > 0xffff else if( !(w&~0x1fffff) ) { m[0]=((w>>18)&0x07)|0xf0; m[1]=((w>>12)&0x3f)|0x80; *************** *** 56,59 **** --- 57,61 ---- m[4]='\0'; return 4; } + #endif else return -1; } |