From 9040b187a1c4fa380f8a12207b9dd6d04b3a10ac Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 12 Aug 2016 18:00:49 +0200 Subject: all: rename modules s#^opentrack-##. and opentrack -> api Adjust usages. --- opentrack-compat/sleep.hpp | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 opentrack-compat/sleep.hpp (limited to 'opentrack-compat/sleep.hpp') diff --git a/opentrack-compat/sleep.hpp b/opentrack-compat/sleep.hpp deleted file mode 100644 index fab27286..00000000 --- a/opentrack-compat/sleep.hpp +++ /dev/null @@ -1,22 +0,0 @@ -#pragma once - -#ifdef _WIN32 -# include -#else -# include -#endif - -namespace portable -{ -#ifdef _WIN32 - inline void sleep(unsigned milliseconds) - { - Sleep(milliseconds); - } -#else - inline void sleep(unsigned milliseconds) - { - usleep(milliseconds * 1000U); // takes microseconds - } -#endif -} -- cgit v1.2.3