First steps towards SDL sim for windows

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8449 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2006-01-25 12:15:25 +00:00
parent c9bded807b
commit 60e8f4f988
4 changed files with 5 additions and 3 deletions

View File

@ -139,7 +139,7 @@ mp3data.c
#if CONFIG_CODEC != SWCODEC
mpeg.c
#endif
#ifndef WIN32 /* the win32 sim has its own versin of these: */
#if !defined(WIN32) || defined(SDL)
panic.c
debug.c
#endif

View File

@ -29,7 +29,9 @@
#ifdef SIMULATOR
#define lcd_icon(x,y) sim_lcd_icon(x,y)
#ifndef MAX_PATH
#define MAX_PATH 260
#endif
#else
#include "file.h" /* for MAX_PATH; FIXME: Why does this not work for sims? */
#endif

View File

@ -409,7 +409,7 @@ void sim_plugin_close(int pd)
dlclose((void *)pd);
}
#ifndef WIN32
#if !defined(WIN32) || defined(SDL)
/* the win32 version is in debug-win32.c */
void debug_init(void)

View File

@ -24,7 +24,7 @@
#include "lcd.h"
#ifdef WIN32
#if defined(WIN32) && !defined(SDL)
#include "lcd-win32.h"
#else
#include "lcd-x11.h"