Version 6.4.0.0.beta1, tag libreoffice-6.4.0.0.beta1
[LibreOffice.git] / external / harfbuzz / icu-65-api-macros-with-semicolon.patch.1
blob55344bc632ba1b8f861d2a2798d4a2a911e358b4
1 diff -ur harfbuzz.org/src/hb-icu.cc harfbuzz/src/hb-icu.cc
2 --- harfbuzz.org/src/hb-icu.cc  2019-06-26 22:30:55.000000000 +0200
3 +++ harfbuzz/src/hb-icu.cc      2019-10-28 23:21:42.198460246 +0100
4 @@ -53,7 +53,7 @@
5  
6  /* ICU doesn't do-while(0) around their statements.  Ugh!
7   * https://unicode-org.atlassian.net/browse/CLDR-13027 */
8 -#define HB_ICU_STMT(S) do { S } while (0)
9 +#define HB_ICU_STMT(S) do { S; } while (0)
11  hb_script_t
12  hb_icu_script_to_script (UScriptCode script)