summaryrefslogtreecommitdiffstats
path: root/firmware/target/hosted/sdl
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-12-02 21:20:30 +0000
committerThomas Martitz <kugel@rockbox.org>2010-12-02 21:20:30 +0000
commit921ac8d6dde6df60cce9346232762794fb9efa05 (patch)
tree7f33290eb2d388aa7ed49e4a4d362da1abb8492f /firmware/target/hosted/sdl
parent589d2110dc6d7d1104554062ac5f01246c7f8acf (diff)
downloadrockbox-921ac8d6dde6df60cce9346232762794fb9efa05.tar.gz
rockbox-921ac8d6dde6df60cce9346232762794fb9efa05.zip
Change the gcc options for sdl builds to allow for gnu99 features, it needs some fixes in other places. Fixes test_mem compilation failure on cygwin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28723 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/hosted/sdl')
-rw-r--r--firmware/target/hosted/sdl/thread-sdl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/hosted/sdl/thread-sdl.c b/firmware/target/hosted/sdl/thread-sdl.c
index 1a683911d7..83f1d1960d 100644
--- a/firmware/target/hosted/sdl/thread-sdl.c
+++ b/firmware/target/hosted/sdl/thread-sdl.c
@@ -632,8 +632,8 @@ void thread_exit(void)
remove_thread(THREAD_ID_CURRENT);
/* This should never and must never be reached - if it is, the
* state is corrupted */
- THREAD_PANICF("thread_exit->K:*R",
- thread_id_entry(THREAD_ID_CURRENT));
+ THREAD_PANICF("thread_exit->K:*R (ID: %d)",
+ thread_id_entry(THREAD_ID_CURRENT)->id);
while (1);
}