summaryrefslogtreecommitdiff
path: root/apps/plugins/lua/rockaux.c
diff options
context:
space:
mode:
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 1f832d4cc7..f10a1cb021 100644
--- a/apps/plugins/lua/rockaux.c
+++ b/apps/plugins/lua/rockaux.c
@@ -24,7 +24,7 @@
24#define _ROCKCONF_H_ /* Protect against unwanted include */ 24#define _ROCKCONF_H_ /* Protect against unwanted include */
25#include "lua.h" 25#include "lua.h"
26 26
27#if !defined(SIMULATOR) 27#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
28int errno = 0; 28int errno = 0;
29#endif 29#endif
30 30