summaryrefslogtreecommitdiffhomepage
path: root/compat/timer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'compat/timer.hpp')
-rw-r--r--compat/timer.hpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/compat/timer.hpp b/compat/timer.hpp
index a92d3f68..03b537ac 100644
--- a/compat/timer.hpp
+++ b/compat/timer.hpp
@@ -13,23 +13,10 @@
#include <ctime>
-#if defined (_WIN32)
-# include <windows.h>
-#elif defined(__MACH__)
-# include <inttypes.h>
-# include <mach/mach_time.h>
-#endif
-
class OTR_COMPAT_EXPORT Timer final
{
struct timespec state;
long long conv_nsecs(const struct timespec& cur) const;
- static void otr_clock_gettime(struct timespec* ts);
-#ifdef _WIN32
- static LARGE_INTEGER otr_get_clock_frequency();
-#elif defined(__MACH__)
- static mach_timebase_info_data_t otr_get_mach_frequency();
-#endif
static void gettime(struct timespec* state);