From 80106283975ec05bcd3a4575170557bea3d38379 Mon Sep 17 00:00:00 2001 From: Iskra Vitaly Date: Sun, 10 Mar 2019 21:08:29 +0300 Subject: [PATCH] Remove _Nullable from gcc output --- luasrc/ffi.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luasrc/ffi.lua b/luasrc/ffi.lua index 9162338..f7b9a9c 100644 --- a/luasrc/ffi.lua +++ b/luasrc/ffi.lua @@ -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