mirror of
https://github.com/neovim/neovim.git
synced 2025-11-04 17:54:30 +00:00
unittests: define _Thread_local to be nothing
This helps the LuaJIT ffi module to parse the header correctly. Otherwise, the whole suite of tests fail.
This commit is contained in:
@@ -102,7 +102,10 @@ local Gcc = {
|
|||||||
'-D "EXTERN=extern"',
|
'-D "EXTERN=extern"',
|
||||||
'-D "INIT(...)="',
|
'-D "INIT(...)="',
|
||||||
'-D_GNU_SOURCE',
|
'-D_GNU_SOURCE',
|
||||||
'-DINCLUDE_GENERATED_DECLARATIONS'
|
'-DINCLUDE_GENERATED_DECLARATIONS',
|
||||||
|
|
||||||
|
-- Needed for FreeBSD
|
||||||
|
'-D "_Thread_local="'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user