aboutsummaryrefslogtreecommitdiff
path: root/backends/plugins
diff options
context:
space:
mode:
authorCameron Cawley2018-04-07 17:45:47 +0100
committerAdrian Frühwirth2018-04-07 22:12:18 +0000
commit925025ec54bd27678f3b0c0d5f69d80636b073f5 (patch)
treece8306626ced911c67c867c6df387f80b15d6edf /backends/plugins
parentfc00f80e7dc6ea396a5f4756914fc26ecb376a10 (diff)
downloadscummvm-rg350-925025ec54bd27678f3b0c0d5f69d80636b073f5.tar.gz
scummvm-rg350-925025ec54bd27678f3b0c0d5f69d80636b073f5.tar.bz2
scummvm-rg350-925025ec54bd27678f3b0c0d5f69d80636b073f5.zip
DS: Only disable forbidden symbols when necessary
Diffstat (limited to 'backends/plugins')
-rw-r--r--backends/plugins/ds/ds-provider.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/backends/plugins/ds/ds-provider.cpp b/backends/plugins/ds/ds-provider.cpp
index b21c48355d..c5419a989a 100644
--- a/backends/plugins/ds/ds-provider.cpp
+++ b/backends/plugins/ds/ds-provider.cpp
@@ -20,7 +20,9 @@
*
*/
-#define FORBIDDEN_SYMBOL_ALLOW_ALL
+// Allow use of stuff in <nds.h>
+#define FORBIDDEN_SYMBOL_EXCEPTION_printf
+#define FORBIDDEN_SYMBOL_EXCEPTION_unistd_h
#include "common/scummsys.h"