lua-users home
lua-l archive

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


Peter Kümmel wrote:
> Following this convention, LUA_VERSION_NUM of the current alpha should
> be 50100 thus you can check for newer versions (if you add LUA_VERSION_NUM
> to older versions of lua):
> #if LUA_VERSION_NUM > 50002 (this does not work with the actual value 501)

Well, you are right. But this is not a valid signed integer
constant for CPP on 16 bit systems (yes, Lua compiles there
just fine).

Of course an extra define for the bug fix release number would
work (initially being set to 0).