summaryrefslogtreecommitdiff
path: root/unix.c
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2005-09-02 16:05:59 +0000
committerDarkvater <Darkvater@openttd.org>2005-09-02 16:05:59 +0000
commita948fcb6055b5aaf3086913a96e623296d62ef37 (patch)
tree770995fa006874ecf7f11983a589bd239a3e85a0 /unix.c
parentacf442102a19ef8cb27f6dbc22668e39d4d59af4 (diff)
downloadopenttd-a948fcb6055b5aaf3086913a96e623296d62ef37.tar.xz
(svn r2906) Fix some threaded saving problems. Now the thread only interfaces with the main program through a sort of mutex. Communication uses the function OTTD_SendThreadMessage() with the approiate message which is handled in ProcessSentMessage() during the main loop.
Diffstat (limited to 'unix.c')
-rw-r--r--unix.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/unix.c b/unix.c
index 16c79988d..3496a6452 100644
--- a/unix.c
+++ b/unix.c
@@ -531,8 +531,6 @@ bool InsertTextBufferClipboard(Textbuf *tb)
}
-#ifdef ENABLE_NETWORK
-
// multi os compatible sleep function
#ifdef __AMIGA__
@@ -571,6 +569,3 @@ void CSleep(int milliseconds)
}
#endif // __AMIGA__
}
-
-#endif /* ENABLE_NETWORK */
-