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:
John Szakmeister
2015-02-08 13:11:32 -05:00
parent 7ab0fcdd94
commit bc6ef4bf80

View File

@@ -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="'
}
}