mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-07-09 00:15:48 -07:00
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.
6 lines
No EOL
290 B
Lua
6 lines
No EOL
290 B
Lua
local socket = require "socket"
|
|
local u = socket.udp() assert(u:setsockname("*", 5088)) u:close()
|
|
local u = socket.udp() assert(u:setsockname("*", 0)) u:close()
|
|
local t = socket.tcp() assert(t:bind("*", 5088)) t:close()
|
|
local t = socket.tcp() assert(t:bind("*", 0)) t:close()
|
|
print("done!") |