<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Fix build with icu &gt;= 68.

https://github.com/zorba-processor/zorba/pull/20
--- src/util/icu_regex.cpp
+++ src/util/icu_regex.cpp
@@ -759,7 +759,7 @@ bool regex::replace_all( string const &amp;in, string const &amp;replacement,
   matcher_-&gt;reset( in );
   UErrorCode status = U_ZERO_ERROR;
   *out = matcher_-&gt;replaceAll( replacement, status );
-  return U_SUCCESS( status ) == TRUE;
+  return U_SUCCESS( status ) == true;
 }
 
 bool regex::replace_all( char const *in, char const *replacement,
--- src/util/unicode_util.cpp
+++ src/util/unicode_util.cpp
@@ -2244,7 +2244,7 @@ bool normalize( string const &amp;in, normalization::type n, string *out ) {
     default                 : icu_mode = UNORM_NONE; break;
   }
   Normalizer::normalize( in, icu_mode, 0, *out, status );
-  return U_SUCCESS( status ) == TRUE;
+  return U_SUCCESS( status ) == true;
 }
 
 bool strip_diacritics( string const &amp;in, string *out ) {
@@ -2266,7 +2266,7 @@ bool to_char( char const *in, char_type *out ) {
     u_strFromUTF8WithSub(
       out, 1, nullptr, in, utf8::char_length( *in ), SubChar, nullptr, &amp;status
     );
-    return U_SUCCESS( status ) == TRUE;
+    return U_SUCCESS( status ) == true;
   }
   catch ( utf8::invalid_byte const&amp; ) {
     return false;
@@ -2312,7 +2312,7 @@ bool to_string( char const *in, size_type in_len, string *out ) {
   UErrorCode status = U_ZERO_ERROR;
   u_strFromUTF8( buf, in_len + 1, &amp;buf_len, in, in_len, &amp;status );
   out-&gt;releaseBuffer( buf_len );
-  return U_SUCCESS( status ) == TRUE;
+  return U_SUCCESS( status ) == true;
 }
 
 bool to_string( wchar_t const *in, size_type in_len, string *out ) {
@@ -2321,7 +2321,7 @@ bool to_string( wchar_t const *in, size_type in_len, string *out ) {
   size_type buf_len;
   u_strFromWCS( buf, in_len + 1, &amp;buf_len, in, in_len, &amp;status );
   out-&gt;releaseBuffer( buf_len );
-  return U_SUCCESS( status ) == TRUE;
+  return U_SUCCESS( status ) == true;
 }
 
 #endif /* ZORBA_NO_ICU */
</pre></body></html>