unittest,memory: Fix tests

This commit is contained in:
ZyX
2017-01-07 19:07:32 +03:00
parent 6f267b3968
commit dea4bb33dc
2 changed files with 3 additions and 1 deletions

View File

@@ -123,6 +123,7 @@ function Gcc:init_defines()
self:define('INIT', {'...'}, '')
self:define('_GNU_SOURCE')
self:define('INCLUDE_GENERATED_DECLARATIONS')
self:define('UNIT_TESTING')
-- Needed for FreeBSD
self:define('_Thread_local', nil, '')
-- Needed for macOS Sierra