lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi Walter,

As I understand it, compat-5.1 is to make lua 5.0 module / package compatible with 5.1, so that 'require', etc all work as expected in 5.1. So, if you're using 5.1, you don't need the COMPAT_LOADLIB, etc, nor compat-5.1.lua

All the best,
Craig

Walter Cruz wrote:

Hi all. I've compiled lua 5.1 but I have some doubts:

1) Why the LUA_COMPAT_LOADLIB is not defined by default in luaconf.h?
2) Do I need still use the compat.lua?

[]'s
- Walter