Adjustments mostly for Windows

This commit is contained in:
Marcel Fabian Krüger 2022-10-09 01:09:01 +02:00
parent e82610344c
commit 4772879575
3 changed files with 13 additions and 6 deletions

View file

@ -863,6 +863,11 @@ static const struct luaL_Reg kpselib_l[] = {
{NULL, NULL} /* sentinel */
};
#ifdef _WIN32
__declspec(dllexport)
#else
__attribute__ ((visibility ("default")))
#endif
int luaopen_kpse(lua_State * L)
{
luaL_newmetatable(L, KPATHSEA_METATABLE);

View file

@ -1,4 +0,0 @@
{
global: luaopen_kpse;
local: *;
};