1
0
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:
nattoheaven
2014-03-12 08:06:21 +09:00
parent 14e8693421
commit 4c48388b12
4 changed files with 71 additions and 15 deletions

View File

@ -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;