From ae748166d06e756a0a6abab582dc341494a9b2da Mon Sep 17 00:00:00 2001 From: Michael Lutz Date: Sun, 17 Mar 2019 11:05:53 +0100 Subject: Codechange: Use platform independent C++11 function for sleeping on a thread. --- src/os/os2/os2.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/os/os2') diff --git a/src/os/os2/os2.cpp b/src/os/os2/os2.cpp index 9d01a99b8..b62e83e5e 100644 --- a/src/os/os2/os2.cpp +++ b/src/os/os2/os2.cpp @@ -205,15 +205,6 @@ bool GetClipboardContents(char *buffer, const char *last) } -void CSleep(int milliseconds) -{ -#ifndef __INNOTEK_LIBC__ - delay(milliseconds); -#else - usleep(milliseconds * 1000); -#endif -} - const char *FS2OTTD(const char *name) {return name;} const char *OTTD2FS(const char *name) {return name;} -- cgit v1.2.3-70-g09d2