Remove -U__POSIX_LIB__

Having `__POSIX_LIB__` be globally defined caused more issue then it was worth. As a results, this undefining is unnecesary.
This commit is contained in:
Thomas A 2022-04-14 20:18:32 -07:00
parent 3c95316a27
commit 09e9e2f56c

View File

@ -12,7 +12,7 @@ if(COMMAND cmake_policy)
cmake_policy(SET CMP0005 NEW)
endif(COMMAND cmake_policy)
add_definitions(-D__STDC_NO_ATOMICS__ -U__POSIX_LIB__)
add_definitions(-D__STDC_NO_ATOMICS__)
# Override DEBUG CFLAGS because -O0 has been triggering strange bugs
set(CMAKE_C_FLAGS_DEBUG "-ggdb -DOBJC_IS_DEBUG_BUILD=1")