Page MenuHomeFreeBSD

Fix -Wundef warnings when building liblua
ClosedPublic

Authored by arichardson on Aug 6 2020, 5:54 PM.

Details

Summary

We need to define the LUA_FLOAT_INT64 macro even if we don't use it (copied
from stand/luaconf.h). While touching luaconf.h.dist also sync it with the
the 5.3.5 release version (matches the one in lib/liblua).

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

arichardson created this revision.

It's interesting, the luaconf.h used in lualoader *does* have these two definitions, and somehow the luaconf.h I hacked up for flua ended up with one but not the other?

Odd, but LGTM.

This revision is now accepted and ready to land.Aug 25 2020, 12:29 PM
This revision was automatically updated to reflect the committed changes.