commit: bc38a7f60a935d0aeb37889c363c4f0635f7d9d3
parent: 674e04c237a4fab11eb4a8772aafd91cb860c454
author: Brian Callahan <dodonpachi-github@mailinator.com>
date: Sun, 24 Sep 2017 11:10:18 -0400
Second blind attempt to fix Mac OS X.
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/portable/darwin/darwin.h b/portable/darwin/darwin.h
@@ -22,8 +22,8 @@
host_get_clock_service(mach_host_self(), CALENDAR_CLOCK, &cclock); \
clock_get_time(cclock, &mts); \
mach_port_deallocate(mach_task_self(), cclock); \
- (*y)->tv_sec = mts.tv_sec; \
- (*y)->tv_nsec = mts.tv_nsec;
+ (y)->tv_sec = mts.tv_sec; \
+ (y)->tv_nsec = mts.tv_nsec;
/* From OpenBSD sys/time.h */
#define timespeccmp(tsp, usp, cmp) \