Skip to content

Commit

Permalink
fix(uwp): Gate NTSTATUS definition behind WINAPI_PARTITION_DESKTOP fo…
Browse files Browse the repository at this point in the history
…r UWP builds
  • Loading branch information
fadss committed Nov 8, 2024
1 parent 37c4253 commit 1bc0a1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/shared/platform/windows/win_clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1bc0a1a

Please sign in to comment.