summaryrefslogtreecommitdiff
path: root/uisimulator
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
parentef4e43822fcbdfeb9ede918eb7936d0c945f66ac (diff)
downloadrockbox-b4ada860b3f9b5811de9b4bb1de78c042e7a349e.tar.gz
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')
-rw-r--r--uisimulator/sdl/kernel.c5
-rw-r--r--uisimulator/win32/kernel.c5
2 files changed, 0 insertions, 10 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 @@
24#include "thread.h" 24#include "thread.h"
25#include "debug.h" 25#include "debug.h"
26 26
27/* (Daniel 2002-10-31) Mingw32 requires this errno variable to be present.
28 I'm not quite sure why and I don't know if this breaks the MSVC compile.
29 If it does, we should put this within #ifdef __MINGW32__ */
30int errno;
31
32static void (*tick_funcs[MAX_NUM_TICK_TASKS])(void); 27static void (*tick_funcs[MAX_NUM_TICK_TASKS])(void);
33 28
34int set_irq_level (int level) 29int set_irq_level (int level)
diff --git a/uisimulator/win32/kernel.c b/uisimulator/win32/kernel.c
index 08b3114f08..34100a234e 100644
--- a/uisimulator/win32/kernel.c
+++ b/uisimulator/win32/kernel.c
@@ -24,11 +24,6 @@
24#include "thread.h" 24#include "thread.h"
25#include "debug.h" 25#include "debug.h"
26 26
27/* (Daniel 2002-10-31) Mingw32 requires this errno variable to be present.
28 I'm not quite sure why and I don't know if this breaks the MSVC compile.
29 If it does, we should put this within #ifdef __MINGW32__ */
30int errno;
31
32static void (*tick_funcs[MAX_NUM_TICK_TASKS])(void); 27static void (*tick_funcs[MAX_NUM_TICK_TASKS])(void);
33 28
34int set_irq_level (int level) 29int set_irq_level (int level)