Permalink
Browse files

Return MIN_OPT_LEVEL for elua

  • Loading branch information...
v-for-vandal committed Feb 23, 2014
1 parent d1bfd8a commit be6723df1e2fb4b54ad3df111b19d3b9f5e597ca
Showing with 5 additions and 0 deletions.
  1. +5 −0 Lib/lua/luarun.swg
View
@@ -122,6 +122,11 @@ typedef struct swig_elua_entry {
#ifndef SWIG_LUA_ELUA_EMULATE
#if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC)
+
+#ifndef MIN_OPT_LEVEL
+#define MIN_OPT_LEVEL 2
+#endif
+
#include "lrodefs.h"
#include "lrotable.h"
#endif

0 comments on commit be6723d

Please sign in to comment.