Changeset 12267


Ignore:
Timestamp:
Mar 30, 2011, 11:26:00 PM (11 years ago)
Author:
jordan
Message:

(trunk libT) #4153 "Protect against non-monotonic time in libutp" -- move UTP_GetMilliseconds() and UTP_GetMicroseconds() outside of the if-not-windows ifdef section. Based on feedback from rb07 in ticket comment 5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/third-party/libutp/utp_utils.cpp

    r12261 r12267  
    113113}
    114114
    115 #else
     115#else //!__APPLE__
    116116
    117117/* Unfortunately, #ifdef CLOCK_MONOTONIC is not enough to make sure that
     
    147147        }
    148148}
    149 #endif
     149#endif //!__APPLE__
     150
     151#endif //!WIN32
    150152
    151153uint64 UTP_GetMicroseconds()
     
    167169        return UTP_GetMicroseconds() / 1000;
    168170}
    169 
    170 #endif
    171171
    172172
Note: See TracChangeset for help on using the changeset viewer.