提交 f1fb0026 编写于 作者: T Ted Steiner 提交者: Alexander Alekhin

Merge pull request #14678 from tedsteiner:qnx

Fix build issue on QNX platform (#14678)

* QNX compatibility

* core: unify gettimeofday() usage
上级 d5a0d678
......@@ -758,8 +758,7 @@ int64 getTickCount(void)
return (int64)mach_absolute_time();
#else
struct timeval tv;
struct timezone tz;
gettimeofday( &tv, &tz );
gettimeofday(&tv, NULL);
return (int64)tv.tv_sec*1000000 + tv.tv_usec;
#endif
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册