Fix the bug that hash cannot be compiled on the Mac platform

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAVCF6
Signed-off-by: yinwuxx <yinwuxiao@huawei.com>
Change-Id: I21ca58e8b275b1e8cab881acb3a95b5ccc0b9102
This commit is contained in:
yinwuxx 2024-10-08 14:09:52 +08:00
parent d5ff606ad8
commit 7b61b0aafe

View File

@ -18,7 +18,7 @@
#include <cstdint>
#include "ecmascript/platform/ecma_string_hash.h"
#ifdef PANDA_TARGET_ARM64
#if defined(PANDA_TARGET_ARM64) && !defined(PANDA_TARGET_MACOS)
#include "ecmascript/platform/arm64/ecma_string_hash_internal.h"
#else
#include "ecmascript/platform/common/ecma_string_hash_internal.h"