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