aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPavel Puchkin <i@neoascetic.me>2016-01-29 16:43:29 +0200
committerkwolekr <kwolekr@minetest.net>2016-01-29 10:54:50 -0500
commit83583aa2d5f795ede066ab7f8e28162633d3786a (patch)
treee6655cff507adc88cc65840084dc78adfc1e56cd /src
parent4e93ba06a749fa2503786bf8d7dbda3d1e36a65a (diff)
downloadminetest-83583aa2d5f795ede066ab7f8e28162633d3786a.tar.gz
minetest-83583aa2d5f795ede066ab7f8e28162633d3786a.tar.bz2
minetest-83583aa2d5f795ede066ab7f8e28162633d3786a.zip
Fix OSX building issue caused by ad884f2
Diffstat (limited to 'src')
-rw-r--r--src/porting.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/porting.h b/src/porting.h
index 5fe81a440..4d51c5058 100644
--- a/src/porting.h
+++ b/src/porting.h
@@ -221,8 +221,8 @@ void initIrrlicht(irr::IrrlichtDevice * );
host_get_clock_service(mach_host_self(), CALENDAR_CLOCK, &cclock);
clock_get_time(cclock, &mts);
mach_port_deallocate(mach_task_self(), cclock);
- ts.tv_sec = mts.tv_sec;
- ts.tv_nsec = mts.tv_nsec;
+ ts->tv_sec = mts.tv_sec;
+ ts->tv_nsec = mts.tv_nsec;
#elif defined(CLOCK_MONOTONIC_RAW)
clock_gettime(CLOCK_MONOTONIC_RAW, ts);
#elif defined(_POSIX_MONOTONIC_CLOCK)