OLD | NEW |
1 /* | 1 /* |
2 ****************************************************************************** | 2 ****************************************************************************** |
3 * | 3 * |
4 * Copyright (C) 1997-2013, International Business Machines | 4 * Copyright (C) 1997-2013, International Business Machines |
5 * Corporation and others. All Rights Reserved. | 5 * Corporation and others. All Rights Reserved. |
6 * | 6 * |
7 ****************************************************************************** | 7 ****************************************************************************** |
8 * | 8 * |
9 * FILE NAME : putilimp.h | 9 * FILE NAME : putilimp.h |
10 * | 10 * |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 #if !defined(U_HAVE_MSVC_2003_OR_EARLIER) && defined(_MSC_VER) && (_MSC_VER < 14
00) | 78 #if !defined(U_HAVE_MSVC_2003_OR_EARLIER) && defined(_MSC_VER) && (_MSC_VER < 14
00) |
79 #define U_HAVE_MSVC_2003_OR_EARLIER | 79 #define U_HAVE_MSVC_2003_OR_EARLIER |
80 #endif | 80 #endif |
81 | 81 |
82 /*===========================================================================*/ | 82 /*===========================================================================*/ |
83 /** @{ Information about POSIX support */ | 83 /** @{ Information about POSIX support */ |
84 /*===========================================================================*/ | 84 /*===========================================================================*/ |
85 | 85 |
86 #ifdef U_HAVE_NL_LANGINFO_CODESET | 86 #ifdef U_HAVE_NL_LANGINFO_CODESET |
87 /* Use the predefined value. */ | 87 /* Use the predefined value. */ |
88 #elif U_PLATFORM_HAS_WIN32_API | 88 #elif U_PLATFORM_HAS_WIN32_API || U_PLATFORM == U_PF_ANDROID || U_PLATFORM == U_
PF_QNX |
89 # define U_HAVE_NL_LANGINFO_CODESET 0 | 89 # define U_HAVE_NL_LANGINFO_CODESET 0 |
90 #else | 90 #else |
91 # define U_HAVE_NL_LANGINFO_CODESET 1 | 91 # define U_HAVE_NL_LANGINFO_CODESET 1 |
92 #endif | 92 #endif |
93 | 93 |
94 #ifdef U_NL_LANGINFO_CODESET | 94 #ifdef U_NL_LANGINFO_CODESET |
95 /* Use the predefined value. */ | 95 /* Use the predefined value. */ |
96 #elif !U_HAVE_NL_LANGINFO_CODESET | 96 #elif !U_HAVE_NL_LANGINFO_CODESET |
97 # define U_NL_LANGINFO_CODESET -1 | 97 # define U_NL_LANGINFO_CODESET -1 |
98 #elif U_PLATFORM == U_PF_OS400 | 98 #elif U_PLATFORM == U_PF_OS400 |
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
598 /* also _C_TS_calloc(x) */ | 598 /* also _C_TS_calloc(x) */ |
599 #else | 599 #else |
600 /* C defaults */ | 600 /* C defaults */ |
601 # define uprv_default_malloc(x) malloc(x) | 601 # define uprv_default_malloc(x) malloc(x) |
602 # define uprv_default_realloc(x,y) realloc(x,y) | 602 # define uprv_default_realloc(x,y) realloc(x,y) |
603 # define uprv_default_free(x) free(x) | 603 # define uprv_default_free(x) free(x) |
604 #endif | 604 #endif |
605 | 605 |
606 | 606 |
607 #endif | 607 #endif |
OLD | NEW |