Disable gethostid() in the build system Lua; it's unused and doesn't work on
Haiku.
This commit is contained in:
parent
4d7c27391f
commit
e7eb563ee9
|
@ -702,6 +702,7 @@ static int Pgetpid(lua_State *L) /** getpid([options]) */
|
|||
}
|
||||
|
||||
|
||||
#if 0
|
||||
static int Phostid(lua_State *L) /** hostid() */
|
||||
{
|
||||
char b[32];
|
||||
|
@ -709,6 +710,7 @@ static int Phostid(lua_State *L) /** hostid() */
|
|||
lua_pushstring(L, b);
|
||||
return 1;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
static int Pttyname(lua_State *L) /** ttyname([fd]) */
|
||||
|
@ -1060,7 +1062,7 @@ static const luaL_reg R[] =
|
|||
{"getpasswd", Pgetpasswd},
|
||||
{"getpid", Pgetpid},
|
||||
{"glob", Pglob},
|
||||
{"hostid", Phostid},
|
||||
//{"hostid", Phostid},
|
||||
{"kill", Pkill},
|
||||
{"link", Plink},
|
||||
{"mkdir", Pmkdir},
|
||||
|
|
Loading…
Reference in a new issue