summaryrefslogtreecommitdiffstats
path: root/thirdparty/icu4c/common/putilimp.h
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/icu4c/common/putilimp.h')
-rw-r--r--thirdparty/icu4c/common/putilimp.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/thirdparty/icu4c/common/putilimp.h b/thirdparty/icu4c/common/putilimp.h
index 5b95a68418..8a8ff50081 100644
--- a/thirdparty/icu4c/common/putilimp.h
+++ b/thirdparty/icu4c/common/putilimp.h
@@ -90,6 +90,8 @@ typedef size_t uintptr_t;
# define U_NL_LANGINFO_CODESET -1
#elif U_PLATFORM == U_PF_OS400
/* not defined */
+#elif U_PLATFORM == U_PF_HAIKU
+ /* not defined */
#else
# define U_NL_LANGINFO_CODESET CODESET
#endif
@@ -103,6 +105,8 @@ typedef size_t uintptr_t;
#endif
#elif U_PLATFORM == U_PF_OS400
/* not defined */
+#elif U_PLATFORM == U_PF_HAIKU
+ /* not defined */
#else
# define U_TZSET tzset
#endif
@@ -141,6 +145,8 @@ typedef size_t uintptr_t;
#endif
#elif U_PLATFORM == U_PF_OS400
/* not defined */
+#elif U_PLATFORM == U_PF_HAIKU
+ /* not defined, (well it is but a loop back to icu) */
#else
# define U_TZNAME tzname
#endif
@@ -553,7 +559,7 @@ inline int32_t pinCapacity(T *dest, int32_t capacity) {
if (maxInt < destInt) {
// Less than 2GB to the end of the address space.
// Pin to that to prevent address overflow.
- maxInt = (uintptr_t)-1;
+ maxInt = static_cast<uintptr_t>(-1);
}
# endif