Fix Unicode checks for Windows using icu.h

This commit is contained in:
Frederik Seiffert 2021-12-14 13:27:40 +01:00 committed by Frederik Seiffert
parent 5f259c1658
commit 4c1b2ef7d6
2 changed files with 6 additions and 6 deletions

View file

@ -3025,7 +3025,7 @@ GSPrivateICUCStringEncoding()
if (icuEnc == GSUndefinedEncoding)
{
const char *encoding = 0;
#if HAVE_UNICODE_UCNV_H
#if defined(HAVE_UNICODE_UCNV_H) || defined(HAVE_ICU_H)
const char *defaultName;
UErrorCode err = U_ZERO_ERROR;