diff options
author | Michael Lutz <michi@icosahedron.de> | 2019-03-17 11:05:53 +0100 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2019-04-06 11:27:39 +0200 |
commit | ae748166d06e756a0a6abab582dc341494a9b2da (patch) | |
tree | d4c75246740f2e2ddd6978a6b14b17ac84bc27cf /src/os/os2 | |
parent | 94c5269fa772304112b7c40d2c84794056f87717 (diff) | |
download | openttd-ae748166d06e756a0a6abab582dc341494a9b2da.tar.xz |
Codechange: Use platform independent C++11 function for sleeping on a thread.
Diffstat (limited to 'src/os/os2')
-rw-r--r-- | src/os/os2/os2.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
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;} |