CONSOLE: Handle unimplemented features for console toolchains.
This commit is contained in:
@@ -519,7 +519,11 @@ static int lj_cf_package_seeall(lua_State *L)
|
||||
static void setpath(lua_State *L, const char *fieldname, const char *envname,
|
||||
const char *def)
|
||||
{
|
||||
#if LJ_TARGET_CONSOLE
|
||||
const char *path = NULL;
|
||||
#else
|
||||
const char *path = getenv(envname);
|
||||
#endif
|
||||
if (path == NULL) {
|
||||
lua_pushstring(L, def);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user