Skip to content

Commit 83583aa

Browse files
neoascetickwolekr
authored andcommittedJan 29, 2016
Fix OSX building issue caused by ad884f2
1 parent 4e93ba0 commit 83583aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

Diff for: ‎src/porting.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,8 @@ void initIrrlicht(irr::IrrlichtDevice * );
221221
host_get_clock_service(mach_host_self(), CALENDAR_CLOCK, &cclock);
222222
clock_get_time(cclock, &mts);
223223
mach_port_deallocate(mach_task_self(), cclock);
224-
ts.tv_sec = mts.tv_sec;
225-
ts.tv_nsec = mts.tv_nsec;
224+
ts->tv_sec = mts.tv_sec;
225+
ts->tv_nsec = mts.tv_nsec;
226226
#elif defined(CLOCK_MONOTONIC_RAW)
227227
clock_gettime(CLOCK_MONOTONIC_RAW, ts);
228228
#elif defined(_POSIX_MONOTONIC_CLOCK)

0 commit comments

Comments
 (0)
Please sign in to comment.