summaryrefslogtreecommitdiffstats
path: root/uisimulator/sdl/kernel.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-02-28 23:56:44 +0000
committerJens Arnold <amiconn@rockbox.org>2006-02-28 23:56:44 +0000
commitb4ada860b3f9b5811de9b4bb1de78c042e7a349e (patch)
tree3bc7f11e47f3ec36f439453fca1bf044afb9b225 /uisimulator/sdl/kernel.c
parentef4e43822fcbdfeb9ede918eb7936d0c945f66ac (diff)
downloadrockbox-b4ada860b3f9b5811de9b4bb1de78c042e7a349e.tar.gz
rockbox-b4ada860b3f9b5811de9b4bb1de78c042e7a349e.tar.bz2
rockbox-b4ada860b3f9b5811de9b4bb1de78c042e7a349e.zip
Allow building simulators on systems where errno is thread-local by using the system's implementation of errno.h for simulator builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8871 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/sdl/kernel.c')
-rw-r--r--uisimulator/sdl/kernel.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/uisimulator/sdl/kernel.c b/uisimulator/sdl/kernel.c
index 2621ecebdd..0db7546860 100644
--- a/uisimulator/sdl/kernel.c
+++ b/uisimulator/sdl/kernel.c
@@ -24,11 +24,6 @@
#include "thread.h"
#include "debug.h"
-/* (Daniel 2002-10-31) Mingw32 requires this errno variable to be present.
- I'm not quite sure why and I don't know if this breaks the MSVC compile.
- If it does, we should put this within #ifdef __MINGW32__ */
-int errno;
-
static void (*tick_funcs[MAX_NUM_TICK_TASKS])(void);
int set_irq_level (int level)