From 83f96706c7594ab7e0a850a58101020dc06454fa Mon Sep 17 00:00:00 2001 From: Shengliang Guan Date: Mon, 4 Nov 2024 11:58:25 +0800 Subject: [PATCH] fix: compile errors --- include/os/osString.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/os/osString.h b/include/os/osString.h index 995aa4a591..09a697d834 100644 --- a/include/os/osString.h +++ b/include/os/osString.h @@ -22,7 +22,7 @@ extern "C" { typedef wchar_t TdWchar; typedef int32_t TdUcs4; -#if !defined(DISALLOW_NCHAR_WITHOUT_ICONV) && defined(DARWIN) +#ifndef DISALLOW_NCHAR_WITHOUT_ICONV #include "iconv.h" #else typedef void *iconv_t;