Fix for moonc -w

This commit is contained in:
Jason Tu 2014-08-17 22:29:30 -04:00
parent b7de66f45a
commit a6e66737dd

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