rpcsx/orbis-kernel/include/orbis/time.hpp
Ivan Chikish 86d059ddd1 [orbis-kernel] Fix sys_gettimeofday
Disable sys_utc_to_localtime and sys_localtime_to_utc for now.
Libkernel will fallback to sys_gettimeofday.
2023-07-15 06:05:43 +03:00

23 lines
328 B
C++

#pragma once
#include "orbis-config.hpp"
namespace orbis {
struct timespec {
uint64_t sec;
uint64_t nsec;
};
struct timeval {
int64_t tv_sec;
int64_t tv_usec;
};
struct timezone {
sint tz_mineast;
sint tz_dsttime;
};
struct timesec {
int64_t tz_time;
sint tz_secwest;
sint tz_dstsec;
};
} // namespace orbis