The Lua target enables the following define flags for the Haxe complier:
-D lua-verEnable special features for a specific Lua version. Currently, this flag will enable extern methods that are specific to certain versions (e.g. table.pack in Lua > 5.2).
-D luajitEnable special features for LuaJIT. Currently this flag will enable the
-D lua-vanillaGenerate code lacking some functionality (e.g. UTF-8) but with no additional library dependencies.