From 88e4563455ca183e1b77364b73d5e6173af513d3 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 20 Sep 2016 21:24:40 +0200 Subject: api, compat: backport exports fix --- opentrack-compat/sleep.hpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'opentrack-compat/sleep.hpp') diff --git a/opentrack-compat/sleep.hpp b/opentrack-compat/sleep.hpp index e7c70285..0a551dcc 100644 --- a/opentrack-compat/sleep.hpp +++ b/opentrack-compat/sleep.hpp @@ -5,16 +5,14 @@ namespace portable #ifdef _WIN32 # include - template - void sleep(unsigned milliseconds) + inline void sleep(unsigned milliseconds) { Sleep(milliseconds); } #else #include - template - void sleep(unsigned milliseconds) + inline void sleep(unsigned milliseconds) { usleep(milliseconds * 1000U); // takes microseconds } -- cgit v1.2.3