mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2026-10-22 01:51:20 +03:00
Several Tunings for OS X
This commit is contained in:
1 parent
14e8693421
commit
4c48388b12
4 files changed
+71
-15
No files matched your search
@@ -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