OLD | NEW |
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 Loading... |
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 |
OLD | NEW |