aboutsummaryrefslogtreecommitdiff
path: root/test/unit/preprocess.lua
diff options
context:
space:
mode:
authorMarco Hinz <mh.codebro@gmail.com>2016-12-28 18:46:58 +0100
committerMarco Hinz <mh.codebro@gmail.com>2016-12-29 02:58:21 +0100
commitd2998a0a49957fc8b01878a0d325f310dd1c5a0c (patch)
treea50f554824dfe9b3574d30eec0a1f150a41d624a /test/unit/preprocess.lua
parent9009c20edb066811417aa1a044e643f1d4050f7c (diff)
downloadrneovim-d2998a0a49957fc8b01878a0d325f310dd1c5a0c.tar.gz
rneovim-d2998a0a49957fc8b01878a0d325f310dd1c5a0c.tar.bz2
rneovim-d2998a0a49957fc8b01878a0d325f310dd1c5a0c.zip
Tests: make unit tests work on macOS Sierra
Fixes #5455.
Diffstat (limited to 'test/unit/preprocess.lua')
-rw-r--r--test/unit/preprocess.lua7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/unit/preprocess.lua b/test/unit/preprocess.lua
index e5c838b13b..10ba997758 100644
--- a/test/unit/preprocess.lua
+++ b/test/unit/preprocess.lua
@@ -105,7 +105,12 @@ local Gcc = {
'-DINCLUDE_GENERATED_DECLARATIONS',
-- Needed for FreeBSD
- '-D "_Thread_local="'
+ '-D "_Thread_local="',
+
+ -- Needed for macOS Sierra
+ '-D "_Nullable="',
+ '-D "_Nonnull="',
+ '-U__BLOCKS__',
}
}