projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e93ba0
)
Fix OSX building issue caused by ad884f2
author
Pavel Puchkin
<i@neoascetic.me>
Fri, 29 Jan 2016 14:43:29 +0000
(16:43 +0200)
committer
kwolekr
<kwolekr@minetest.net>
Fri, 29 Jan 2016 15:54:50 +0000
(10:54 -0500)
src/porting.h
patch
|
blob
|
history
diff --git
a/src/porting.h
b/src/porting.h
index 5fe81a4409fc0430ee0fe2785669c0d65e49f04e..4d51c5058cd3c0d1acff734c799d932ac73a29ba 100644
(file)
--- 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)