mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-12 18:40:27 +01:00
fix: building libzmq fails with error src/clock.cpp:131:16: error: unused variable 'nsecs_per_usec'
This commit is contained in:
parent
72b03aa281
commit
06aba27b04
@ -195,6 +195,7 @@ uint64_t zmq::clock_t::now_us ()
|
||||
|
||||
#else
|
||||
|
||||
LIBZMQ_UNUSED (nsecs_per_usec);
|
||||
// Use POSIX gettimeofday function to get precise time.
|
||||
struct timeval tv;
|
||||
int rc = gettimeofday (&tv, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user