diff options
-rw-r--r-- | apps/plugin.c | 2 | ||||
-rw-r--r-- | apps/plugin.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 642ddff441..ab5ccf5a1b 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -681,7 +681,7 @@ static const struct plugin_api rockbox_api = { | |||
681 | viewportmanager_theme_enable, | 681 | viewportmanager_theme_enable, |
682 | viewportmanager_theme_undo, | 682 | viewportmanager_theme_undo, |
683 | #endif | 683 | #endif |
684 | #ifndef SIMULATOR | 684 | #if !defined(SIMULATOR) || defined(__MINGW32__) || defined(__CYGWIN__) |
685 | &errno | 685 | &errno |
686 | #endif | 686 | #endif |
687 | }; | 687 | }; |
diff --git a/apps/plugin.h b/apps/plugin.h index 7e63c85d0d..c92fcef736 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -860,7 +860,7 @@ struct plugin_api { | |||
860 | struct viewport *viewport); | 860 | struct viewport *viewport); |
861 | void (*viewportmanager_theme_undo)(enum screen_type screen, bool force_redraw); | 861 | void (*viewportmanager_theme_undo)(enum screen_type screen, bool force_redraw); |
862 | #endif | 862 | #endif |
863 | #ifndef SIMULATOR | 863 | #if !defined(SIMULATOR) || defined(__MINGW32__) || defined(__CYGWIN__) |
864 | int* __errno; | 864 | int* __errno; |
865 | #endif | 865 | #endif |
866 | }; | 866 | }; |