fix: building libzmq fails with error src/clock.cpp:131:16: error: unused variable 'nsecs_per_usec'

This commit is contained in:
sabotagebeats 2021-07-22 21:53:19 -07:00
parent 72b03aa281
commit 06aba27b04

View File

@ -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);