| OLD | NEW |
| 1 /* | 1 /* |
| 2 ****************************************************************************** | 2 ****************************************************************************** |
| 3 * | 3 * |
| 4 * Copyright (C) 1997-2013, International Business Machines | 4 * Copyright (C) 1997-2014, 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 * |
| 11 * Date Name Description | 11 * Date Name Description |
| 12 * 10/17/04 grhoten Move internal functions from putil.h to this file. | 12 * 10/17/04 grhoten Move internal functions from putil.h to this file. |
| 13 ****************************************************************************** | 13 ****************************************************************************** |
| 14 */ | 14 */ |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 #else | 110 #else |
| 111 # define U_TZSET tzset | 111 # define U_TZSET tzset |
| 112 #endif | 112 #endif |
| 113 | 113 |
| 114 #if defined(U_TIMEZONE) || defined(U_HAVE_TIMEZONE) | 114 #if defined(U_TIMEZONE) || defined(U_HAVE_TIMEZONE) |
| 115 /* Use the predefined value. */ | 115 /* Use the predefined value. */ |
| 116 #elif U_PLATFORM == U_PF_ANDROID | 116 #elif U_PLATFORM == U_PF_ANDROID |
| 117 # define U_TIMEZONE timezone | 117 # define U_TIMEZONE timezone |
| 118 #elif U_PLATFORM_IS_LINUX_BASED | 118 #elif U_PLATFORM_IS_LINUX_BASED |
| 119 # if defined(__UCLIBC__) | 119 # if defined(__UCLIBC__) |
| 120 /* uClibc does not have __timezone or _timezone. */ | 120 /* uClibc does not have __timezone or _timezone. */ |
| 121 # elif defined(_NEWLIB_VERSION) | 121 # elif defined(_NEWLIB_VERSION) |
| 122 # define U_TIMEZONE _timezone | 122 # define U_TIMEZONE _timezone |
| 123 # elif defined(__GLIBC__) | 123 # elif defined(__GLIBC__) |
| 124 /* glibc */ |
| 124 # define U_TIMEZONE __timezone | 125 # define U_TIMEZONE __timezone |
| 125 # endif | 126 # endif |
| 126 #elif U_PLATFORM_USES_ONLY_WIN32_API | 127 #elif U_PLATFORM_USES_ONLY_WIN32_API |
| 127 # define U_TIMEZONE _timezone | 128 # define U_TIMEZONE _timezone |
| 128 #elif U_PLATFORM == U_PF_BSD && !defined(__NetBSD__) | 129 #elif U_PLATFORM == U_PF_BSD && !defined(__NetBSD__) |
| 129 /* not defined */ | 130 /* not defined */ |
| 130 #elif U_PLATFORM == U_PF_OS400 | 131 #elif U_PLATFORM == U_PF_OS400 |
| 131 /* not defined */ | 132 /* not defined */ |
| 132 #elif U_PLATFORM == U_PF_IPHONE | 133 #elif U_PLATFORM == U_PF_IPHONE |
| 133 /* not defined */ | 134 /* not defined */ |
| (...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 601 /* also _C_TS_calloc(x) */ | 602 /* also _C_TS_calloc(x) */ |
| 602 #else | 603 #else |
| 603 /* C defaults */ | 604 /* C defaults */ |
| 604 # define uprv_default_malloc(x) malloc(x) | 605 # define uprv_default_malloc(x) malloc(x) |
| 605 # define uprv_default_realloc(x,y) realloc(x,y) | 606 # define uprv_default_realloc(x,y) realloc(x,y) |
| 606 # define uprv_default_free(x) free(x) | 607 # define uprv_default_free(x) free(x) |
| 607 #endif | 608 #endif |
| 608 | 609 |
| 609 | 610 |
| 610 #endif | 611 #endif |
| OLD | NEW |