summaryrefslogtreecommitdiff
path: root/libusb/os/darwin_usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'libusb/os/darwin_usb.c')
-rw-r--r--libusb/os/darwin_usb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libusb/os/darwin_usb.c b/libusb/os/darwin_usb.c
index 3a0f0be..6ba3fea 100644
--- a/libusb/os/darwin_usb.c
+++ b/libusb/os/darwin_usb.c
@@ -1387,11 +1387,11 @@ static int darwin_clock_gettime(int clk_id, struct timespec *tp) {
clock_serv_t clock_ref;
switch (clk_id) {
- case LIBUSB_CLOCK_REALTIME:
+ case USBI_CLOCK_REALTIME:
/* CLOCK_REALTIME represents time since the epoch */
host_get_clock_service(mach_host_self(), CALENDAR_CLOCK, &clock_ref);
break;
- case LIBUSB_CLOCK_MONOTONIC:
+ case USBI_CLOCK_MONOTONIC:
/* use system boot time as reference for the monotonic clock */
host_get_clock_service(mach_host_self(), SYSTEM_CLOCK, &clock_ref);
break;