mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 14:36:36 +08:00
Merge pull request #14678 from tedsteiner:qnx
Fix build issue on QNX platform (#14678) * QNX compatibility * core: unify gettimeofday() usage
This commit is contained in:
parent
d5a0d6783a
commit
f1fb002682
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user