We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf78863 commit 397f663Copy full SHA for 397f663
1 file changed
core/shared/platform/windows/win_clock.c
@@ -10,9 +10,11 @@
10
#define NANOSECONDS_PER_SECOND 1000000000ULL
11
#define NANOSECONDS_PER_TICK 100
12
13
+#if WINAPI_PARTITION_DESKTOP
14
extern NTSTATUS
15
NtQueryTimerResolution(PULONG MinimumResolution, PULONG MaximumResolution,
16
PULONG CurrentResolution);
17
+#endif
18
19
static __wasi_errno_t
20
calculate_monotonic_clock_frequency(uint64 *out_frequency)
0 commit comments