buffer: Hide one of the asserts from lua parser

This commit is contained in:
ZyX
2017-02-25 00:22:46 +03:00
parent 5f7d8f889c
commit 77ebe85be6
3 changed files with 11 additions and 0 deletions

View File

@@ -124,6 +124,7 @@ function Gcc:init_defines()
self:define('_GNU_SOURCE')
self:define('INCLUDE_GENERATED_DECLARATIONS')
self:define('UNIT_TESTING')
self:define('UNIT_TESTING_LUA_PREPROCESSING')
-- Needed for FreeBSD
self:define('_Thread_local', nil, '')
-- Needed for macOS Sierra