expose the selected clock (only for other arch classes)
This commit is contained in:
@@ -126,6 +126,12 @@ namespace
|
||||
}
|
||||
};
|
||||
|
||||
clockid_t ArchHooks_Unix::GetClock()
|
||||
{
|
||||
OpenGetTime();
|
||||
return g_Clock;
|
||||
}
|
||||
|
||||
RString ArchHooks::GetPreferredLanguage()
|
||||
{
|
||||
return "en";
|
||||
|
||||
@@ -13,6 +13,8 @@ public:
|
||||
int64_t GetMicrosecondsSinceStart();
|
||||
|
||||
void MountInitialFilesystems( const RString &sDirOfExecutable );
|
||||
|
||||
static clockid_t GetClock();
|
||||
};
|
||||
|
||||
#ifdef ARCH_HOOKS
|
||||
|
||||
Reference in New Issue
Block a user