mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-20 08:26:23 +00:00
2c167153e9
Fixes an issue on macOS Mojave that was patched in fa1c281e79.
The list of changes can be found under
build/premake/premake5/CHANGES.txt.
This was SVN commit r22021.
16 lines
287 B
C
16 lines
287 B
C
#include <luashim.h>
|
|
|
|
int luaopen_socket_core(lua_State *L);
|
|
|
|
#ifdef _WIN32
|
|
__declspec(dllexport) int luaopen_luasocket(lua_State *L)
|
|
#else
|
|
int luaopen_luasocket(lua_State *L)
|
|
#endif
|
|
{
|
|
shimInitialize(L);
|
|
luaL_requiref(L, "socket", luaopen_socket_core, 1);
|
|
lua_pop(L, 1);
|
|
return 0;
|
|
}
|