Skip to content

Commit 5c0232a

Browse files
srl295targos
authored andcommitted
deps: backport ICU-21081 for ICU 67.x (constexpr)
- Backport of unicode-org/icu@715d254 - ICU bug: https://unicode-org.atlassian.net/browse/ICU-21081 PR-URL: #33337 Refs: https://github.com/unicode-org/icu/releases/tag/release-67-1 Reviewed-By: Steven R Loomis <[email protected]>
1 parent 2d76ae7 commit 5c0232a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

deps/icu-small/README-SMALL-ICU.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ Small ICU sources - auto generated by shrink-icu-src.py
33
This directory contains the ICU subset used by --with-intl=small-icu (the default)
44
It is a strict subset of ICU 67 source files with the following exception(s):
55
* deps/icu-small/source/data/in/icudt67l.dat : Reduced-size data file
6-
6+
* deps/icu-small/source/common/uassert.h : Manual backport of ICU-21081
77

88
To rebuild this directory, see ../../tools/icu/README.md

deps/icu-small/source/common/uassert.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
# include <assert.h>
3333
# define U_ASSERT(exp) assert(exp)
3434
#elif U_CPLUSPLUS_VERSION
35-
# define U_ASSERT(exp) void()
35+
# define U_ASSERT(exp) (void)0
3636
#else
3737
# define U_ASSERT(exp)
3838
#endif

0 commit comments

Comments
 (0)