summaryrefslogtreecommitdiffstats
path: root/firmware/target/hosted
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2012-01-22 19:38:56 +0100
committerThomas Martitz <kugel@rockbox.org>2012-01-22 19:38:56 +0100
commitec36357e8fc59552a66d7ec5b46f2504721e9800 (patch)
treee8164618247f93ba674243d72aafa67f9dd54512 /firmware/target/hosted
parent3520d7f85594432e8bff229147674ae488b8f61b (diff)
downloadrockbox-ec36357e8fc59552a66d7ec5b46f2504721e9800.tar.gz
rockbox-ec36357e8fc59552a66d7ec5b46f2504721e9800.zip
Fix sdl build warnings
Change-Id: I3e85c63ce246b93572f856b364c9e2ff1b53e52f
Diffstat (limited to 'firmware/target/hosted')
-rw-r--r--firmware/target/hosted/sdl/system-sdl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/target/hosted/sdl/system-sdl.h b/firmware/target/hosted/sdl/system-sdl.h
index a20cbe5fac..979d556fdd 100644
--- a/firmware/target/hosted/sdl/system-sdl.h
+++ b/firmware/target/hosted/sdl/system-sdl.h
@@ -41,6 +41,12 @@ int set_irq_level(int level);
#define restore_irq(level) \
((void)set_irq_level(level))
+#ifndef HAVE_SDL_THREADS
+void wait_for_interrupt(void);
+#else
+#define wait_for_interrupt()
+#endif
+
#include "system-hosted.h"
void sim_enter_irq_handler(void);