mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Build fixes for clang on FreeBSD
This commit is contained in:
1 parent
92adf08caf
commit
d6060d4b3b
2 files changed
+6
-2
No files matched your search
@@ -245,6 +245,8 @@ double time_now_unix_utc() {
|
||||
}
|
||||
|
||||
double time_to_unix_utc(double t) {
|
||||
struct timeval tv;
|
||||
gettimeofday(&tv, nullptr);
|
||||
return (double)tv.tv_sec + (double)tv.tv_usec * (1.0 / micros) + t;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user