Skip to content

Commit

Permalink
Remove _Nullable from gcc output
Browse files Browse the repository at this point in the history
  • Loading branch information
iskra-vitaly committed Mar 10, 2019
1 parent 7a9a1e9 commit 8010628
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion luasrc/ffi.lua
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ local function loadHDF5Header(includePath)
include_opts = include_opts .. " -I" .. dir
end

local process = io.popen("gcc -E " .. headerPath .. include_opts)
local process = io.popen("gcc -D '_Nullable=' -E " .. headerPath .. include_opts)
local contents = process:read("*all")
local success, errorMsg, returnCode = process:close()
if returnCode ~= 0 then
Expand Down

0 comments on commit 8010628

Please sign in to comment.