lua-users home
lua-l archive

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


> I'd like to see this solved with defines in a config, with something like
> 
> #define LUA_STRFORMAT_FLOATINGINT sizeof(int) < sizeof(lua_Number)
> #if LUA_STRFORMAT_FLOATINGINT

That cannot work because sizeof is not evaluated at preprocessing time.