The current version of the ICU include files is 3.2 from 2006. Since this files are used to access the API in the system provided libraries, we should update include files to more recent version. THis would also allow the use of newer APIs.
Created attachment 163446 [details] Patch as zip file Source of files is ICU release 4.6.1 with some modifications. From the ChangeLogs: Updated ICU header files to 4.6.1. Modifications made as part of the merge are: platform.h - Changed ifndef / define / endif for U_HAVE_UINT8_T, U_HAVE_UINT16_T, U_HAVE_UINT32_T, U_HAVE_UINT64_T, U_IS_BIG_ENDIAN and U_ENABLE_TRACING to match the existing platform.h putil.h (line 132) - Changes defined(U_WINDOWS) to defined(WIN32) || defined(OS2) to match existing putil.h ustring.h (line 945) - Wrapped macro argument cs with { (const UChar *)cs } to match existing ustring.h utypes.h (line 545) - Changed defined(U_WINDOWS) to defined(WIN32) to match existing utypes.h Added localpointer.h and uvernum.h to JavaScriptCore/icu/unicode WTF/icu/unicode WebCore/icu/unicode WebKit/mac/icu/unicode. Added utext.h to Source/WebCore/icu/unicode.
Attachment 163446 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files']" exit_code: 1 Total errors found: 0 in 0 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 163446 [details] Patch as zip file r=me
Committed r128243: <http://trac.webkit.org/changeset/128243>
Additional commit of r128246: <http://trac.webkit.org/changeset/128246>
Additional commit of r128250: <http://trac.webkit.org/changeset/128250>
Additional commit of r128252: <http://trac.webkit.org/changeset/128252>
Additional commits of r128255: <http://trac.webkit.org/changeset/128255> and r128256: <http://trac.webkit.org/changeset/128256>