summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-02-11 16:28:00 +0000
committertruelight <truelight@openttd.org>2007-02-11 16:28:00 +0000
commit53785810c8abb8a81f322536fe08a5a0e3cf9017 (patch)
treea80f0bfecab1f32d0d6f8a699498e8fe1e803ef6 /src
parentd84e14f55f69a5cfe1bacefa22ebf769d30007d0 (diff)
downloadopenttd-53785810c8abb8a81f322536fe08a5a0e3cf9017.tar.xz
(svn r8678) [PSP] -Add: added LIBS and CFLAGS needed to compile PSP
-Fix: PSP needs to link with gcc, not with g++ (don't ask) -Fix: PSP doens't support threads
Diffstat (limited to 'src')
-rw-r--r--src/thread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread.cpp b/src/thread.cpp
index 66456d1ab..06ebe929c 100644
--- a/src/thread.cpp
+++ b/src/thread.cpp
@@ -5,7 +5,7 @@
#include <stdlib.h>
#include "helpers.hpp"
-#if defined(__AMIGA__) || defined(__MORPHOS__) || defined(NO_THREADS)
+#if defined(__AMIGA__) || defined(__MORPHOS__) || defined(PSP) || defined(NO_THREADS)
OTTDThread *OTTDCreateThread(OTTDThreadFunc function, void *arg) { return NULL; }
void *OTTDJoinThread(OTTDThread *t) { return NULL; }
void OTTDExitThread(void) { NOT_REACHED(); };