172a73,97
2> // start axom change
3> #define SOL_CXX17_FEATURES 0
4> #define SOL_ALL_SAFETIES_ON 1
5>
6> extern "C" {
7>   #include "lua.h"
8>   #include "lualib.h"
9>   #include "lauxlib.h"
10> }
11>
12> // Note: this was backported from the sol repo
13> // https://github.com/ThePhD/sol2/blob/09f5e862b800c1d005a12f8c5da475e3085703b4/include/sol/compatibility/compat-5.4.h
14> #if defined(LUA_VERSION_NUM) && LUA_VERSION_NUM == 504
15>
16> #if !defined(LUA_ERRGCMM)
17> /* So Lua 5.4 actually removes this, which breaks sol2...
18>  man, this API is quite unstable...!
19> */
20> #  define LUA_ERRGCMM (LUA_ERRERR + 2)
21> #endif /* LUA_ERRGCMM define */
22>
23> #endif // Lua 5.4 only
24>
25> // end axom change
26>
27