Fix windows sim builds

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24111 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Frank Gevaerts 2009-12-24 23:17:13 +00:00
parent 3c3c2aab74
commit 4a85eb7d9f
2 changed files with 2 additions and 2 deletions

View file

@ -681,7 +681,7 @@ static const struct plugin_api rockbox_api = {
viewportmanager_theme_enable,
viewportmanager_theme_undo,
#endif
#ifndef SIMULATOR
#if !defined(SIMULATOR) || defined(__MINGW32__) || defined(__CYGWIN__)
&errno
#endif
};

View file

@ -860,7 +860,7 @@ struct plugin_api {
struct viewport *viewport);
void (*viewportmanager_theme_undo)(enum screen_type screen, bool force_redraw);
#endif
#ifndef SIMULATOR
#if !defined(SIMULATOR) || defined(__MINGW32__) || defined(__CYGWIN__)
int* __errno;
#endif
};