mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +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 "INIT(...)="',
|
||||
'-D_GNU_SOURCE',
|
||||
'-DINCLUDE_GENERATED_DECLARATIONS'
|
||||
'-DINCLUDE_GENERATED_DECLARATIONS',
|
||||
|
||||
-- Needed for FreeBSD
|
||||
'-D "_Thread_local="'
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user