From 158c90cf1196f219e6a7c9c3e23ca47129429a7b Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sun, 27 Mar 2016 14:06:51 +0200 Subject: Initial work to make MAME work on Android [Miodrag Milanovic] --- src/osd/sdl/sdlprefix.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/osd/sdl/sdlprefix.h') diff --git a/src/osd/sdl/sdlprefix.h b/src/osd/sdl/sdlprefix.h index 2acc6a9d98e..9ba0001ccc5 100644 --- a/src/osd/sdl/sdlprefix.h +++ b/src/osd/sdl/sdlprefix.h @@ -70,6 +70,10 @@ struct _IO_FILE {}; //_IO_FILE is an opaque type in the emscripten libc which makes clang cranky #endif +#if defined(__ANDROID__) +#define SDLMAME_ANDROID 1 +#endif + // fix for Ubuntu 8.10 #ifdef _FORTIFY_SOURCE #undef _FORTIFY_SOURCE -- cgit v1.2.3-70-g09d2