mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-13 11:15:55 +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.
6 lines
290 B
Lua
6 lines
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!") |