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
This commit is contained in:
Jens Arnold 2006-02-28 23:56:44 +00:00
parent ef4e43822f
commit b4ada860b3
5 changed files with 10 additions and 12 deletions

View file

@ -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)