Patch for luaconf.h

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Patch for luaconf.h

Lee Shallis
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