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/unix | |
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/unix')
-rw-r--r-- | src/os/unix/unix.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/os/unix/unix.cpp b/src/os/unix/unix.cpp index 024dc8627..e20a6c1b5 100644 --- a/src/os/unix/unix.cpp +++ b/src/os/unix/unix.cpp @@ -273,14 +273,6 @@ bool GetClipboardContents(char *buffer, const char *last) #endif -/* multi os compatible sleep function */ - -void CSleep(int milliseconds) -{ - usleep(milliseconds * 1000); -} - - #ifndef __APPLE__ uint GetCPUCoreCount() { |