summaryrefslogtreecommitdiff
path: root/src/os/unix
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2019-03-04 19:46:11 +0100
committerPatric Stout <truebrain@openttd.org>2019-03-05 22:03:00 +0100
commitf58db44ff22c07af984b2d513d24524594f660a7 (patch)
tree1909be4c44f287495413b96c3298c15cc1775081 /src/os/unix
parentad30d04b5eddccea1c547a050b1afc225d277af4 (diff)
downloadopenttd-f58db44ff22c07af984b2d513d24524594f660a7.tar.xz
Remove: BeOS support (deprecated by Haiku)
In 10 years there is no commit to change how BeOS works, and we have no active maintainer for it. It is unlikely it works in its current state (but not impossible). With the arrival of SDL2 (and removal of SDL), BeOS is no longer support. SDL2 suggests to use Haiku instead of BeOS.
Diffstat (limited to 'src/os/unix')
-rw-r--r--src/os/unix/unix.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/os/unix/unix.cpp b/src/os/unix/unix.cpp
index 810b062a6..2f982dea0 100644
--- a/src/os/unix/unix.cpp
+++ b/src/os/unix/unix.cpp
@@ -270,11 +270,7 @@ bool GetClipboardContents(char *buffer, const char *last)
void CSleep(int milliseconds)
{
- #if defined(__BEOS__)
- snooze(milliseconds * 1000);
- #else
- usleep(milliseconds * 1000);
- #endif
+ usleep(milliseconds * 1000);
}