Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Side by Side Diff: third_party/icu/public/common/unicode/pmac.h

Issue 6578003: Add back U_WCHAR_IS_UTF32 macro to pmac.h... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « third_party/icu/patches/pmac.h.patch ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 ****************************************************************************** 2 ******************************************************************************
3 * 3 *
4 * Copyright (C) 1997-2010, International Business Machines 4 * Copyright (C) 1997-2010, International Business Machines
5 * Corporation and others. All Rights Reserved. 5 * Corporation and others. All Rights Reserved.
6 * 6 *
7 ****************************************************************************** 7 ******************************************************************************
8 * 8 *
9 * Note: autoconf creates platform.h from platform.h.in at configure time. 9 * Note: autoconf creates platform.h from platform.h.in at configure time.
10 * 10 *
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 401
402 #if U_HAVE_LIB_SUFFIX 402 #if U_HAVE_LIB_SUFFIX
403 # ifndef U_ICU_ENTRY_POINT_RENAME 403 # ifndef U_ICU_ENTRY_POINT_RENAME
404 /* Renaming pattern: u_strcpy_41_suffix */ 404 /* Renaming pattern: u_strcpy_41_suffix */
405 # define U_ICU_ENTRY_POINT_RENAME(x) x ## _ ## 46 ## 405 # define U_ICU_ENTRY_POINT_RENAME(x) x ## _ ## 46 ##
406 # define U_DEF_ICUDATA_ENTRY_POINT(major, minor) icudt####major##minor##_dat 406 # define U_DEF_ICUDATA_ENTRY_POINT(major, minor) icudt####major##minor##_dat
407 407
408 # endif 408 # endif
409 #endif 409 #endif
410 410
411 /*===========================================================================*/
412 /* Local defines */
413 /*===========================================================================*/
414
415 /* On the Mac, we define U_WCHAR_IS_UTF32 to treat wchar_t as though it
416 contains UTF-32 at all times. Strictly speaking, that's not entirely
417 correct given Mac's libc (__STDC_ISO_10646__ is not defined) , but provided
418 that we ignore libc's locale support (by not calling setlocale) and its
419 multibyte string support, this should be fine. Our codebase makes enough
420 other assumptions about a UTF-8 locale and UTF-32 wchar_t strings for this
421 to make sense. */
422 #define U_WCHAR_IS_UTF32
423
411 #endif 424 #endif
OLDNEW
« no previous file with comments | « third_party/icu/patches/pmac.h.patch ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698