mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-07 02:10:27 +00:00
Allow ProgramUniprocess to be set on Windows
This commit is contained in:
parent
0cb6b6ff4b
commit
8838366b9a
1 changed files with 1 additions and 3 deletions
|
@ -5153,9 +5153,7 @@ static int LuaProgramUniprocess(lua_State *L) {
|
|||
return luaL_argerror(L, 1, "invalid uniprocess mode; boolean expected");
|
||||
|
||||
lua_pushboolean(L, uniprocess);
|
||||
if (!IsWindows()) { // uniprocess can't be disabled on Windows yet
|
||||
if (lua_isboolean(L, 1)) uniprocess = lua_toboolean(L, 1);
|
||||
}
|
||||
if (lua_isboolean(L, 1)) uniprocess = lua_toboolean(L, 1);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue