From a13132866dad3109239741bacb3ac5177fa8730d Mon Sep 17 00:00:00 2001 From: zmf <279822581@qq.com> Date: Wed, 22 Nov 2023 21:57:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86mac=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zmf <279822581@qq.com> --- attachment/repos/dart.patch1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/attachment/repos/dart.patch1 b/attachment/repos/dart.patch1 index 100b5aafc3..9daa97ba76 100644 --- a/attachment/repos/dart.patch1 +++ b/attachment/repos/dart.patch1 @@ -561,14 +561,14 @@ index e04c881411e..fb5f9dd1993 100644 #else return DynamicLibrary::New(kWindowsDynamicLibraryProcessPtr); diff --git a/runtime/platform/globals.h b/runtime/platform/globals.h -index 7122f9f7d08..db441e1ea5a 100644 +index 7122f9f7d08..373e958a322 100644 --- a/runtime/platform/globals.h +++ b/runtime/platform/globals.h @@ -108,6 +108,10 @@ // Check for Android first, to determine its difference from Linux. #define DART_HOST_OS_ANDROID 1 -+#elif defined(DART_TARGET_OS_OHOS) ++#elif defined(DART_TARGET_OS_OHOS) && !defined(__APPLE__) && !defined(_WIN32) + +#define DART_HOST_OS_OHOS 1 + -- Gitee