From 485db41a438abd39bafdb3d2565ed4715e48fe6d Mon Sep 17 00:00:00 2001 From: psl-felipefarinon Date: Thu, 7 Nov 2013 15:21:42 -0200 Subject: [PATCH] Fixing broken build issue #583 --- src/clock.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/clock.cpp b/src/clock.cpp index 081d7f22..de1ea867 100644 --- a/src/clock.cpp +++ b/src/clock.cpp @@ -42,6 +42,7 @@ #include #endif +#ifdef ZMQ_HAVE_WINDOWS typedef ULONGLONG (*f_compatible_get_tick_count64)(); static zmq::mutex_t compatible_get_tick_count64_mutex; @@ -75,6 +76,7 @@ f_compatible_get_tick_count64 init_compatible_get_tick_count64() } static f_compatible_get_tick_count64 my_get_tick_count64 = init_compatible_get_tick_count64(); +#endif zmq::clock_t::clock_t () : last_tsc (rdtsc ()),