summaryrefslogtreecommitdiff
path: root/apps/plugins/lua/rockaux.c
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-05-25 12:00:13 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-05-25 12:00:13 +0000
commit88cf5b307a4124789a59a1ca1c7fb38e0213b935 (patch)
treed53345ed97cbe4c16e971a31e3468d19b6d0bb4f /apps/plugins/lua/rockaux.c
parentaec37aa5fe371ed55b6553bc73c469d451e56179 (diff)
Fix mingw & cygwin builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21075 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lua/rockaux.c')
-rw-r--r--apps/plugins/lua/rockaux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/lua/rockaux.c b/apps/plugins/lua/rockaux.c
index 2213420ce2..11433f286f 100644
--- a/apps/plugins/lua/rockaux.c
+++ b/apps/plugins/lua/rockaux.c
@@ -22,7 +22,7 @@
#include "plugin.h"
-#ifndef SIMULATOR
+#if !defined(SIMULATOR) || defined(__MINGW32__) || defined(__CYGWIN__)
int errno = 0;
#endif