summaryrefslogtreecommitdiffstats
path: root/uisimulator
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2006-01-25 12:15:25 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2006-01-25 12:15:25 +0000
commit60e8f4f9885d3cffb6cb7aa3b0e09a3fed0d3c84 (patch)
treebb0f192ecc3f8c5074a462035d59bb5d6eda810a /uisimulator
parentc9bded807b727f2da977837ed4975a721ceabd5c (diff)
downloadrockbox-60e8f4f9885d3cffb6cb7aa3b0e09a3fed0d3c84.tar.gz
rockbox-60e8f4f9885d3cffb6cb7aa3b0e09a3fed0d3c84.tar.bz2
rockbox-60e8f4f9885d3cffb6cb7aa3b0e09a3fed0d3c84.zip
First steps towards SDL sim for windows
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8449 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/common/io.c2
-rw-r--r--uisimulator/common/lcd-common.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/uisimulator/common/io.c b/uisimulator/common/io.c
index 68eb8933a5..4943bc04e2 100644
--- a/uisimulator/common/io.c
+++ b/uisimulator/common/io.c
@@ -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)
diff --git a/uisimulator/common/lcd-common.c b/uisimulator/common/lcd-common.c
index a9fc294b1a..119c440318 100644
--- a/uisimulator/common/lcd-common.c
+++ b/uisimulator/common/lcd-common.c
@@ -24,7 +24,7 @@
#include "lcd.h"
-#ifdef WIN32
+#if defined(WIN32) && !defined(SDL)
#include "lcd-win32.h"
#else
#include "lcd-x11.h"