aboutsummaryrefslogtreecommitdiff
path: root/backends/plugins
diff options
context:
space:
mode:
authorCameron Cawley2018-08-15 22:59:45 +0100
committerDavid Turner2018-09-14 02:33:16 +0100
commit174b0d18643a6fc14135157ec7c0e4e2deaeeb20 (patch)
tree10c4e4e7230a7a9f68bb800066cd76591931b0dd /backends/plugins
parent58f3aac49ece050ddd3f5a51b4033a1bcadc08a7 (diff)
downloadscummvm-rg350-174b0d18643a6fc14135157ec7c0e4e2deaeeb20.tar.gz
scummvm-rg350-174b0d18643a6fc14135157ec7c0e4e2deaeeb20.tar.bz2
scummvm-rg350-174b0d18643a6fc14135157ec7c0e4e2deaeeb20.zip
PS2: Fix compilation with latest PS2SDK
Diffstat (limited to 'backends/plugins')
-rw-r--r--backends/plugins/ps2/ps2-provider.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/backends/plugins/ps2/ps2-provider.cpp b/backends/plugins/ps2/ps2-provider.cpp
index a4a9877c61..c83f33e2ba 100644
--- a/backends/plugins/ps2/ps2-provider.cpp
+++ b/backends/plugins/ps2/ps2-provider.cpp
@@ -20,6 +20,9 @@
*
*/
+#define FORBIDDEN_SYMBOL_EXCEPTION_abort
+#define FORBIDDEN_SYMBOL_EXCEPTION_exit
+
#include "common/scummsys.h"
#if defined(DYNAMIC_MODULES) && defined(__PLAYSTATION2__)
@@ -27,6 +30,8 @@
#include "backends/plugins/ps2/ps2-provider.h"
#include "backends/plugins/elf/mips-loader.h"
+#include <kernel.h>
+
class PS2DLObject : public MIPSDLObject {
protected: