mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-16 20:41:18 +08:00
Merge pull request #751 from psl-felipefarinon/master
Removing C++11 code.
This commit is contained in:
commit
51fa803d63
@ -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