Fixed bug that excluded the os library for Lua 5.1.

ver1_5_1
Vincent Giangiulio 2008-03-16 14:29:35 +00:00
parent 5e58b99352
commit 3a1af40ee7
1 changed files with 1 additions and 0 deletions

View File

@ -694,6 +694,7 @@ bool LuaState::charEntered(const char* c_p)
#if LUA_VER >= 0x050100
openLuaLibrary(costate, LUA_LOADLIBNAME, luaopen_package);
openLuaLibrary(costate, LUA_IOLIBNAME, luaopen_io);
openLuaLibrary(costate, LUA_OSLIBNAME, luaopen_os);
#else
lua_iolibopen(costate);
#endif