From c9b298c5eed7abec0aff02d1f67e18e5ea938fc9 Mon Sep 17 00:00:00 2001 From: Ujjwal Sharma Date: Tue, 23 Apr 2019 15:35:49 +0530 Subject: deps: update ICU to 64.2 Update the version of the bundled ICU (deps/icu-small) to ICU version 64.2 (Unicode 12, CLDR 35) Fixes: https://github.com/nodejs/node/issues/26388 PR-URL: https://github.com/nodejs/node/pull/27361 Reviewed-By: Richard Lau Reviewed-By: Steven R Loomis Reviewed-By: Michael Dawson --- deps/icu-small/source/common/putilimp.h | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'deps/icu-small/source/common/putilimp.h') diff --git a/deps/icu-small/source/common/putilimp.h b/deps/icu-small/source/common/putilimp.h index f744746b1f..f9c13d8e1b 100644 --- a/deps/icu-small/source/common/putilimp.h +++ b/deps/icu-small/source/common/putilimp.h @@ -204,7 +204,7 @@ typedef size_t uintptr_t; /** * \def U_HAVE_STD_ATOMICS - * Defines whether to use the standard C++11 functions + * Defines whether to use the C++11 std::atomic functions. * If false, ICU will fall back to compiler or platform specific alternatives. * Note: support for these fall back options for atomics will be removed in a future version * of ICU, and the use of C++ 11 atomics will be required. @@ -232,6 +232,22 @@ typedef size_t uintptr_t; # define U_HAVE_CLANG_ATOMICS 0 #endif + +/** + * \def U_HAVE_STD_MUTEX + * Defines whether to use the C++11 std::mutex functions. + * If false, ICU will fall back to compiler or platform specific alternatives. + * std::mutex is preferred, and used by default unless this setting is overridden. + * Note: support for other options for mutexes will be removed in a future version + * of ICU, and the use of std::mutex will be required. + * @internal + */ +#ifdef U_HAVE_STD_MUTEX + /* Use the predefined value. */ +#else +# define U_HAVE_STD_MUTEX 1 +#endif + /*===========================================================================*/ /** @{ Programs used by ICU code */ /*===========================================================================*/ -- cgit v1.2.3