aboutsummaryrefslogtreecommitdiff
path: root/test/functional/preload.lua
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2019-09-25 11:52:41 +0200
committerGitHub <noreply@github.com>2019-09-25 11:52:41 +0200
commit2621f4455d6409427a57ea5d4a123e860e27eacd (patch)
tree6ffc7b15bf481888288f95bcb45de744923688ff /test/functional/preload.lua
parent0571145c40b0a2ae106acc43891c2680c76b8383 (diff)
parent70827ea1fa3db6cb221b8c50677e1a6524937a5c (diff)
downloadrneovim-2621f4455d6409427a57ea5d4a123e860e27eacd.tar.gz
rneovim-2621f4455d6409427a57ea5d4a123e860e27eacd.tar.bz2
rneovim-2621f4455d6409427a57ea5d4a123e860e27eacd.zip
Merge pull request #10978 from blueyed/update-libuv
third-party: update libuv to v1.32.0
Diffstat (limited to 'test/functional/preload.lua')
-rw-r--r--test/functional/preload.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/functional/preload.lua b/test/functional/preload.lua
index 1107b45d54..24a3977e6b 100644
--- a/test/functional/preload.lua
+++ b/test/functional/preload.lua
@@ -2,3 +2,13 @@
-- Busted started doing this to help provide more isolation. See issue #62
-- for more information about this.
local helpers = require('test.functional.helpers')(nil)
+local iswin = helpers.iswin
+
+if iswin() then
+ local ffi = require('ffi')
+ ffi.cdef[[
+ typedef int errno_t;
+ errno_t _set_fmode(int mode);
+ ]]
+ ffi.C._set_fmode(0x8000)
+end