浏览代码

Merge branch 'master' of gitee.com:openLuat/luatos-soc-air101

Wendal Chen 4 年之前
父节点
当前提交
63effe4165
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      app/port/luat_base_air101.c

+ 3 - 0
app/port/luat_base_air101.c

@@ -38,6 +38,9 @@ static const luaL_Reg loadedlibs[] = {
 //  {LUA_UTF8LIBNAME, luaopen_utf8},
   {LUA_DBLIBNAME, luaopen_debug},     // debug库,已精简
 #ifdef LUAT_USE_DBG
+#ifndef LUAT_USE_SHELL
+#define LUAT_USE_SHELL
+#endif
   {"dbg",  luaopen_dbg},               // 调试库
 #endif
 #if defined(LUA_COMPAT_BITLIB)