lua-users home
lua-l archive

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


I'm on Linux Mint Cinnamon x64, lua WON'T compile without this patch, having other compile errors but I will submit fixes to those as soon as I manage to do so.

/*
** default configuration for 64-bit Lua ('long long' and 'double')
*/
#if !defined(LUA_INT_TYPE)
#if (LONG_MAX > INT_MAX) && (INT_MAX > SHRT_MAX)
#define LUA_INT_TYPE    LUA_INT_LONG
#else
#define LUA_INT_TYPE    LUA_INT_LONGLONG
#endif
#endif