We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bf78863 + 397f663 commit 58f242fCopy full SHA for 58f242f
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