From 3d4e9fe674d2daf59ff4b481fc2f89f77b390a4f Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 3 May 2011 11:27:44 +0200 Subject: BACKENDS: Allow various files to use stuff from time.h --- backends/events/webossdl/webossdl-events.cpp | 3 +++ backends/platform/android/android.cpp | 3 +++ backends/platform/dc/dcmain.cpp | 3 +++ backends/platform/dc/vmsave.cpp | 3 +++ backends/platform/ds/arm9/source/fat/gba_nds_fat.c | 3 +++ backends/platform/ds/arm9/source/osystem_ds.cpp | 3 +++ backends/platform/psp/osys_psp.cpp | 3 +++ backends/platform/sdl/sdl.cpp | 1 - backends/platform/wii/osystem.cpp | 3 +++ 9 files changed, 24 insertions(+), 1 deletion(-) (limited to 'backends') diff --git a/backends/events/webossdl/webossdl-events.cpp b/backends/events/webossdl/webossdl-events.cpp index 045d077af2..24aa5f0abd 100644 --- a/backends/events/webossdl/webossdl-events.cpp +++ b/backends/events/webossdl/webossdl-events.cpp @@ -25,6 +25,9 @@ #ifdef WEBOS +// Allow use of stuff in +#define FORBIDDEN_SYMBOL_EXCEPTION_time_h + #include "common/scummsys.h" #include "common/system.h" #include "sys/time.h" diff --git a/backends/platform/android/android.cpp b/backends/platform/android/android.cpp index c7f62f523b..7cf1e988fc 100644 --- a/backends/platform/android/android.cpp +++ b/backends/platform/android/android.cpp @@ -25,6 +25,9 @@ #if defined(__ANDROID__) +// Allow use of stuff in +#define FORBIDDEN_SYMBOL_EXCEPTION_time_h + #include #include #include diff --git a/backends/platform/dc/dcmain.cpp b/backends/platform/dc/dcmain.cpp index f9640130d3..0f52cda458 100644 --- a/backends/platform/dc/dcmain.cpp +++ b/backends/platform/dc/dcmain.cpp @@ -23,6 +23,9 @@ * */ +// Allow use of stuff in +#define FORBIDDEN_SYMBOL_EXCEPTION_time_h + #include #include #include diff --git a/backends/platform/dc/vmsave.cpp b/backends/platform/dc/vmsave.cpp index 6c8289684f..1d7773b143 100644 --- a/backends/platform/dc/vmsave.cpp +++ b/backends/platform/dc/vmsave.cpp @@ -23,6 +23,9 @@ * */ +// Allow use of stuff in +#define FORBIDDEN_SYMBOL_EXCEPTION_time_h + #include #include "engines/engine.h" #include "dc.h" 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 +#define FORBIDDEN_SYMBOL_EXCEPTION_time_h + #include "gba_nds_fat.h" #include "disc_io.h" #include 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 +#define FORBIDDEN_SYMBOL_EXCEPTION_time_h + #include "common/scummsys.h" #include "common/system.h" diff --git a/backends/platform/psp/osys_psp.cpp b/backends/platform/psp/osys_psp.cpp index bb7c1ff7d5..e2a8a88c57 100644 --- a/backends/platform/psp/osys_psp.cpp +++ b/backends/platform/psp/osys_psp.cpp @@ -23,6 +23,9 @@ * */ +// Allow use of stuff in +#define FORBIDDEN_SYMBOL_EXCEPTION_time_h + #include #include #include diff --git a/backends/platform/sdl/sdl.cpp b/backends/platform/sdl/sdl.cpp index bc27f8e954..e6ca423f61 100644 --- a/backends/platform/sdl/sdl.cpp +++ b/backends/platform/sdl/sdl.cpp @@ -25,7 +25,6 @@ #define FORBIDDEN_SYMBOL_EXCEPTION_time_h - #ifdef WIN32 #define WIN32_LEAN_AND_MEAN #include diff --git a/backends/platform/wii/osystem.cpp b/backends/platform/wii/osystem.cpp index 54da27126c..ccf6b22db6 100644 --- a/backends/platform/wii/osystem.cpp +++ b/backends/platform/wii/osystem.cpp @@ -19,6 +19,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +// Allow use of stuff in +#define FORBIDDEN_SYMBOL_EXCEPTION_time_h + #include #include -- cgit v1.2.3