Add support for FreeBSD
authorAustin Shafer <ashafer@nvidia.com>
Tue, 23 Jun 2020 20:45:28 +0000 (16:45 -0400)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 27 Aug 2020 13:04:54 +0000 (09:04 -0400)
commitc699442853e0365491315f6aff20d9d6b78f8fca
treeca2130622d3f6475c20f22e46f6ebbf244863edb
parent83f10852cf5967968e571e17c9143ff77149b790
Add support for FreeBSD

The FreeBSD build is similar to the generic Unix build, with
a couple differences in the available functions.

FreeBSD needs certain flags defined for all the correct symbol
declarations to be visible (__BSD_VISIBLE, __XOPEN_SOURCE=600)

To keep the diff small, a new DE_OS_* macro for FreeBSD was not
made, since FreeBSD only differs from DE_OS_UNIX in a few places.
Where it differs the __FreeBSD__ macro is used, since there is
no good way to tell unices apart with the DE_OS_* macros.

Change-Id: I58fe857c898e9735762ffddb1fdd8e893460322f
framework/delibs/debase/deDefs.c
framework/delibs/debase/deMemory.c
framework/delibs/dethread/CMakeLists.txt
framework/delibs/dethread/unix/deThreadUnix.c
framework/qphelper/CMakeLists.txt
targets/default/default.cmake