forked from OSchip/llvm-project
[libc++abi] Don't re-define _LIBCPP_HAS_NO_THREADS in single-threaded mode
Libc++ already defines the macro inside its __config_site header, so libc++abi doesn't need to do it. Doing it just leads to -Wmacro-redefined warnings when building libc++abi.
This commit is contained in:
parent
76313f8ec9
commit
ea23cc7120
|
@ -417,7 +417,6 @@ if (NOT LIBCXXABI_ENABLE_THREADS)
|
|||
" is also set to ON.")
|
||||
endif()
|
||||
add_definitions(-D_LIBCXXABI_HAS_NO_THREADS)
|
||||
add_definitions(-D_LIBCPP_HAS_NO_THREADS)
|
||||
endif()
|
||||
|
||||
if (LIBCXXABI_HAS_EXTERNAL_THREAD_API)
|
||||
|
|
Loading…
Reference in New Issue