From 1bc0a1a119acf1a2624d6a931d53ad6df60f109e Mon Sep 17 00:00:00 2001 From: Fadumina Barre Date: Fri, 8 Nov 2024 08:26:37 +0000 Subject: [PATCH] fix(uwp): Gate NTSTATUS definition behind WINAPI_PARTITION_DESKTOP for UWP builds --- core/shared/platform/windows/win_clock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/shared/platform/windows/win_clock.c b/core/shared/platform/windows/win_clock.c index 2859745220..c402330aad 100644 --- a/core/shared/platform/windows/win_clock.c +++ b/core/shared/platform/windows/win_clock.c @@ -11,8 +11,8 @@ #define NANOSECONDS_PER_TICK 100 #if WINAPI_PARTITION_DESKTOP - extern NTSTATUS - NtQueryTimerResolution(PULONG MinimumResolution, PULONG MaximumResolution, +extern NTSTATUS +NtQueryTimerResolution(PULONG MinimumResolution, PULONG MaximumResolution, PULONG CurrentResolution); #endif