Merge pull request #160 from nucleartide/master

Fix for moonc -w
This commit is contained in:
leaf 2014-08-17 20:38:57 -07:00
commit 30116b21e1

View File

@ -165,7 +165,7 @@ end
local function get_sleep_func() local function get_sleep_func()
local sleep local sleep
if not pcall(function() if not pcall(function()
require "socket" local socket = require "socket"
sleep = socket.sleep sleep = socket.sleep
end) then end) then
-- This is set by moonc.c in windows binaries -- This is set by moonc.c in windows binaries