Skip to content
Snippets Groups Projects
Commit c8beec8b authored by Luigi Scarso's avatar Luigi Scarso
Browse files

disabled ffi for PPC

[[Split portion of a mixed commit.]]
parent 1c2f0179
No related branches found
Tags 1.0.3
No related merge requests found
......@@ -3398,14 +3398,14 @@ static int setup_upvals(lua_State* L)
lua_pushboolean(L, 1);
lua_setfield(L, -2, "64bit");
#else
#error
# define UNSUPPORTED_ARCH /* error */
#endif
#if defined ARCH_X86 || defined ARCH_X64 || defined ARCH_ARM || defined ARCH_PPC64
lua_pushboolean(L, 1);
lua_setfield(L, -2, "le");
#else
#error
# define UNSUPPORTED_ARCH /*error*/
#endif
#if defined ARCH_X86 || defined ARCH_X64 || defined ARCH_PPC64
......@@ -3415,7 +3415,7 @@ static int setup_upvals(lua_State* L)
lua_pushboolean(L, 1);
lua_setfield(L, -2, "softfp");
#else
#error
# define UNSUPPORTED_ARCH /*error*/
#endif
lua_pop(L, 1); /* abi tbl */
......@@ -3458,7 +3458,7 @@ static int setup_upvals(lua_State* L)
#elif defined ARCH_PPC64
lua_pushliteral(L, "ppc64");
#else
# error
# define UNSUPPORTED_ARCH /* error */
#endif
lua_setfield(L, 1, "arch");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment