Changeset 12269


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

(trunk libT) #4153 "Protect against non-monotonic time in libutp" -- try again.

File:
1 edited

Legend:

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

    r12268 r12269  
    3232        }
    3333        return (uint64)GetTickCount();
    34 }
    35 
    36 uint32 UTP_GetMilliseconds()
    37 {
    38         return GetTickCount();
    3934}
    4035
     
    149144#endif //!__APPLE__
    150145
    151 uint32 UTP_GetMilliseconds();
     146#endif //!WIN32
    152147
    153148uint64 UTP_GetMicroseconds()
     
    164159        return now;
    165160}
    166 
    167 #endif //!WIN32
    168161
    169162uint32 UTP_GetMilliseconds()
Note: See TracChangeset for help on using the changeset viewer.