diff options
Diffstat (limited to 'firmware/target/hosted/sdl/thread-sdl.h')
-rw-r--r-- | firmware/target/hosted/sdl/thread-sdl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/hosted/sdl/thread-sdl.h b/firmware/target/hosted/sdl/thread-sdl.h index 9384e6060d..9edb3ee74e 100644 --- a/firmware/target/hosted/sdl/thread-sdl.h +++ b/firmware/target/hosted/sdl/thread-sdl.h @@ -22,11 +22,13 @@ #ifndef __THREADSDL_H__ #define __THREADSDL_H__ +#ifdef HAVE_SDL_THREADS /* extra thread functions that only apply when running on hosting platforms */ void sim_thread_lock(void *me); void * sim_thread_unlock(void); void sim_thread_exception_wait(void); void sim_thread_shutdown(void); /* Shut down all kernel threads gracefully */ +#endif #endif /* #ifndef __THREADSDL_H__ */ |