Disable gethostid() in the build system Lua; it's unused and doesn't work on

Haiku.
This commit is contained in:
David Given 2016-11-11 20:16:43 +01:00
parent 4d7c27391f
commit e7eb563ee9

View file

@ -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},