projects/aports·blob master · refs

14 lines · 545 B

1diff --git a/turbo.lua b/turbo.lua
2index 543cce4..e03f8ce 100644
3--- a/turbo.lua
4+++ b/turbo.lua
5@@ -88,6 +88,9 @@ assert(pcall(require, "bit") or pcall(require, "bit32"),
6 "No bit or compatible library available")
7 turbo.platform = require "turbo.platform"
8 turbo.log = require "turbo.log"
9+if _G.__TURBO_USE_LUASOCKET__ == nil then
10+ _G.__TURBO_USE_LUASOCKET__ = true
11+end
12 if not turbo.platform.__LINUX__ then
13 if not pcall(require, "socket") then
14 turbo.log.error("Could not load LuaSocket. Aborting.")