From 39c68f66d7080ddaa1bf613d32e721997fbee074 Mon Sep 17 00:00:00 2001 From: Wenyong Huang Date: Tue, 23 Nov 2021 10:57:52 +0800 Subject: [PATCH] Fix Win32 build error (#843) Fix compilation error on Win32 platform. --- core/iwasm/aot/aot_runtime.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/iwasm/aot/aot_runtime.h b/core/iwasm/aot/aot_runtime.h index 5fc3144f..22d58589 100644 --- a/core/iwasm/aot/aot_runtime.h +++ b/core/iwasm/aot/aot_runtime.h @@ -197,8 +197,7 @@ typedef struct AOTModule { uint8 *literal; uint32 literal_size; -#if (defined(BUILD_TARGET_X86_64) || defined(BUILD_TARGET_AMD_64)) \ - && defined(BH_PLATFORM_WINDOWS) +#if defined(BH_PLATFORM_WINDOWS) /* extra plt data area for __xmm and __real constants in Windows platform, NULL for JIT mode */ uint8 *extra_plt_data;