Skip to content

Commit

Permalink
Fix OSX building issue caused by ad884f2
Browse files Browse the repository at this point in the history
  • Loading branch information
neoascetic authored and kwolekr committed Jan 29, 2016
1 parent 4e93ba0 commit 83583aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/porting.h
Expand Up @@ -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)
Expand Down

0 comments on commit 83583aa

Please sign in to comment.