diff options
author | John Szakmeister <john@szakmeister.net> | 2015-02-08 13:11:32 -0500 |
---|---|---|
committer | John Szakmeister <john@szakmeister.net> | 2015-02-09 05:37:24 -0500 |
commit | bc6ef4bf8078e442cbafb7bfb8835052df89a141 (patch) | |
tree | a3c5268904d50d27ceeb23d191feb01db06ecd95 /test/unit/preprocess.lua | |
parent | 7ab0fcdd945eaa157004ccee2949c680deff439e (diff) | |
download | rneovim-bc6ef4bf8078e442cbafb7bfb8835052df89a141.tar.gz rneovim-bc6ef4bf8078e442cbafb7bfb8835052df89a141.tar.bz2 rneovim-bc6ef4bf8078e442cbafb7bfb8835052df89a141.zip |
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.
Diffstat (limited to 'test/unit/preprocess.lua')
-rw-r--r-- | test/unit/preprocess.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/unit/preprocess.lua b/test/unit/preprocess.lua index f17c7ba666..d4c2e088a4 100644 --- a/test/unit/preprocess.lua +++ b/test/unit/preprocess.lua @@ -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="' } } |