summaryrefslogtreecommitdiff
path: root/firmware
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 /firmware
parentc9bded807b727f2da977837ed4975a721ceabd5c (diff)
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 'firmware')
-rw-r--r--firmware/SOURCES2
-rw-r--r--firmware/export/lcd.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/firmware/SOURCES b/firmware/SOURCES
index dbfa102ceb..b70ee7f118 100644
--- a/firmware/SOURCES
+++ b/firmware/SOURCES
@@ -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
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h
index 7fcae6edf1..2779bd9c95 100644
--- a/firmware/export/lcd.h
+++ b/firmware/export/lcd.h
@@ -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