diff options
| author | Frank Gevaerts <frank@gevaerts.be> | 2009-12-24 23:17:13 +0000 |
|---|---|---|
| committer | Frank Gevaerts <frank@gevaerts.be> | 2009-12-24 23:17:13 +0000 |
| commit | 4a85eb7d9f7212bf2a0974fa42c2cb4f1790f99e (patch) | |
| tree | 11df9763cdf5699f2b728773679a43292cd2e300 | |
| parent | 3c3c2aab7496aa4d29f8a70c65c14c1cfe885f1b (diff) | |
| download | rockbox-4a85eb7d9f7212bf2a0974fa42c2cb4f1790f99e.zip rockbox-4a85eb7d9f7212bf2a0974fa42c2cb4f1790f99e.tar.gz rockbox-4a85eb7d9f7212bf2a0974fa42c2cb4f1790f99e.tar.bz2 rockbox-4a85eb7d9f7212bf2a0974fa42c2cb4f1790f99e.tar.xz | |
Fix windows sim builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24111 a1c6a512-1295-4272-9138-f99709370657
| -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 642ddff..ab5ccf5 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -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 }; diff --git a/apps/plugin.h b/apps/plugin.h index 7e63c85..c92fcef 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -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 }; |