Avoid potential build error

This commit is contained in:
Justine Tunney 2024-09-05 16:11:03 -07:00
parent 03875beadb
commit 0d6ff04b87
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
3 changed files with 6 additions and 3 deletions

View file

@ -26,6 +26,7 @@
#include "libc/nt/synchronization.h"
#include "libc/nt/thread.h"
#include "libc/nt/time.h"
#ifdef __x86_64__
#define _CLOCK_REALTIME 0
#define _CLOCK_MONOTONIC 1
@ -112,3 +113,5 @@ textwindows int sys_clock_gettime_nt(int clock, struct timespec *ts) {
return -EINVAL;
}
}
#endif // __x86_64__