mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2026-01-20 02:10:10 +03:00
Several Tunings for OS X
This commit is contained in:
@ -152,7 +152,7 @@ UINT g_zero = 0;
|
||||
// Get the real-time system timer
|
||||
UINT TickRealtime()
|
||||
{
|
||||
#if defined(OS_WIN32) || defined(CLOCK_REALTIME) || defined(CLOCK_MONOTONIC) || defined(CLOCK_HIGHRES)
|
||||
#if defined(OS_WIN32) || defined(CLOCK_REALTIME) || defined(CLOCK_MONOTONIC) || defined(CLOCK_HIGHRES) || defined(UNIX_MACOS)
|
||||
return Tick() + 1;
|
||||
#else
|
||||
return TickRealtimeManual() + 1;
|
||||
|
||||
Reference in New Issue
Block a user