aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/ds/arm9/source
diff options
context:
space:
mode:
authorMax Horn2011-05-03 11:27:44 +0200
committerMax Horn2011-05-03 11:27:44 +0200
commit3d4e9fe674d2daf59ff4b481fc2f89f77b390a4f (patch)
tree4141b74cc075e91f5bc094af0e27d7a17ed884e6 /backends/platform/ds/arm9/source
parent3201bb46bdfb0742b7a5464d59aaa672e1a5f022 (diff)
downloadscummvm-rg350-3d4e9fe674d2daf59ff4b481fc2f89f77b390a4f.tar.gz
scummvm-rg350-3d4e9fe674d2daf59ff4b481fc2f89f77b390a4f.tar.bz2
scummvm-rg350-3d4e9fe674d2daf59ff4b481fc2f89f77b390a4f.zip
BACKENDS: Allow various files to use stuff from time.h
Diffstat (limited to 'backends/platform/ds/arm9/source')
-rw-r--r--backends/platform/ds/arm9/source/fat/gba_nds_fat.c3
-rw-r--r--backends/platform/ds/arm9/source/osystem_ds.cpp3
2 files changed, 6 insertions, 0 deletions
diff --git a/backends/platform/ds/arm9/source/fat/gba_nds_fat.c b/backends/platform/ds/arm9/source/fat/gba_nds_fat.c
index 7f0757ef53..698590418c 100644
--- a/backends/platform/ds/arm9/source/fat/gba_nds_fat.c
+++ b/backends/platform/ds/arm9/source/fat/gba_nds_fat.c
@@ -18,6 +18,9 @@
//---------------------------------------------------------------
// Includes
+// Allow use of stuff in <time.h>
+#define FORBIDDEN_SYMBOL_EXCEPTION_time_h
+
#include "gba_nds_fat.h"
#include "disc_io.h"
#include <string.h>
diff --git a/backends/platform/ds/arm9/source/osystem_ds.cpp b/backends/platform/ds/arm9/source/osystem_ds.cpp
index 49818a0034..462990cb32 100644
--- a/backends/platform/ds/arm9/source/osystem_ds.cpp
+++ b/backends/platform/ds/arm9/source/osystem_ds.cpp
@@ -20,6 +20,9 @@
*/
+// Allow use of stuff in <time.h>
+#define FORBIDDEN_SYMBOL_EXCEPTION_time_h
+
#include "common/scummsys.h"
#include "common/system.h"