mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 13:31:49 +00:00
fix ffi usage in named_pipe_unix.lua
This commit is contained in:
parent
c8d760e83e
commit
b5f1698e78
1 changed files with 3 additions and 3 deletions
|
|
@ -22,9 +22,9 @@ local O_NONBLOCK = 0x800
|
||||||
local F_GETFL = 3
|
local F_GETFL = 3
|
||||||
|
|
||||||
local function getError()
|
local function getError()
|
||||||
local err = ffi.errno()
|
local err = FFI.errno()
|
||||||
|
|
||||||
return ffi.string(C.strerror(err)).." ("..err..")"
|
return FFI.string(C.strerror(err)).." ("..err..")"
|
||||||
end
|
end
|
||||||
|
|
||||||
local lib = {}
|
local lib = {}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue