mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-20 23:06:47 +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.
18 lines
310 B
Lua
18 lines
310 B
Lua
function load(s)
|
|
collectgarbage()
|
|
local a = gcinfo()
|
|
_G[s] = require(s)
|
|
collectgarbage()
|
|
local b = gcinfo()
|
|
print(s .. ":\t " .. (b-a) .. "k")
|
|
end
|
|
|
|
load("socket.url")
|
|
load("ltn12")
|
|
load("socket")
|
|
load("mime")
|
|
load("socket.tp")
|
|
load("socket.smtp")
|
|
load("socket.http")
|
|
load("socket.ftp")
|