diff options
| author | Thomas Martitz <kugel@rockbox.org> | 2012-01-22 19:38:56 +0100 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2012-01-22 19:38:56 +0100 |
| commit | ec36357e8fc59552a66d7ec5b46f2504721e9800 (patch) | |
| tree | e8164618247f93ba674243d72aafa67f9dd54512 | |
| parent | 3520d7f85594432e8bff229147674ae488b8f61b (diff) | |
| download | rockbox-ec36357e8fc59552a66d7ec5b46f2504721e9800.zip rockbox-ec36357e8fc59552a66d7ec5b46f2504721e9800.tar.gz rockbox-ec36357e8fc59552a66d7ec5b46f2504721e9800.tar.bz2 rockbox-ec36357e8fc59552a66d7ec5b46f2504721e9800.tar.xz | |
Fix sdl build warnings
Change-Id: I3e85c63ce246b93572f856b364c9e2ff1b53e52f
| -rw-r--r-- | firmware/target/hosted/sdl/system-sdl.h | 6 |
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 a20cbe5..979d556 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); |