equal
deleted
inserted
replaced
3 /** @file thread.cpp */ |
3 /** @file thread.cpp */ |
4 |
4 |
5 #include "stdafx.h" |
5 #include "stdafx.h" |
6 #include "thread.h" |
6 #include "thread.h" |
7 #include "debug.h" |
7 #include "debug.h" |
|
8 #include "core/alloc_func.hpp" |
8 #include <stdlib.h> |
9 #include <stdlib.h> |
9 #include "helpers.hpp" |
|
10 |
10 |
11 #if defined(__AMIGA__) || defined(__MORPHOS__) || defined(PSP) || defined(NO_THREADS) |
11 #if defined(__AMIGA__) || defined(__MORPHOS__) || defined(PSP) || defined(NO_THREADS) |
12 OTTDThread *OTTDCreateThread(OTTDThreadFunc function, void *arg) { return NULL; } |
12 OTTDThread *OTTDCreateThread(OTTDThreadFunc function, void *arg) { return NULL; } |
13 void *OTTDJoinThread(OTTDThread *t) { return NULL; } |
13 void *OTTDJoinThread(OTTDThread *t) { return NULL; } |
14 void OTTDExitThread() { NOT_REACHED(); }; |
14 void OTTDExitThread() { NOT_REACHED(); }; |