Adjustments mostly for Windows
This commit is contained in:
parent
e82610344c
commit
4772879575
3 changed files with 13 additions and 6 deletions
|
@ -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);
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
{
|
||||
global: luaopen_kpse;
|
||||
local: *;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue