mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-17 00:23:58 +00:00
issue #583 removing C++11 code.
This commit is contained in:
parent
f72dbb35d5
commit
8f85bafe37
@ -153,7 +153,6 @@ uint64_t zmq::clock_t::now_ms ()
|
|||||||
// does not guarantee that it will use a hardware that offers a monotonic timer.
|
// does not guarantee that it will use a hardware that offers a monotonic timer.
|
||||||
// So, lets use GetTickCount when GetTickCount64 is not available with an workaround
|
// So, lets use GetTickCount when GetTickCount64 is not available with an workaround
|
||||||
// to its 32 bit limitation.
|
// to its 32 bit limitation.
|
||||||
static_assert(sizeof(uint64_t) >= sizeof(ULONGLONG), "Loosing timer information");
|
|
||||||
return static_cast<uint64_t>((*my_get_tick_count64)());
|
return static_cast<uint64_t>((*my_get_tick_count64)());
|
||||||
#else
|
#else
|
||||||
return now_us () / 1000;
|
return now_us () / 1000;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user