mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-28 18:54:55 +00:00
[libc++][CMake] Remove unnecessary conditional for defining new handlers
It turns out that whether the new handlers should be provided is orthogonal to whether new/delete are provided in libc++ or libc++abi. The reason why I initially added this conditional is because of an incorrect understanding of the path we're taking when building on Apple platforms. In fact, we always build libc++ on top of libc++abi on Apple platforms, so we take the branch for `LIBCXX_BUILDING_LIBCXXABI` there. llvm-svn: 358616
This commit is contained in:
parent
e3b5eba1ba
commit
a4bd340bf5
@ -22,7 +22,7 @@
|
||||
# include "support/runtime/new_handler_fallback.ipp"
|
||||
#elif defined(__GLIBCXX__)
|
||||
// nothing to do
|
||||
#elif !defined(_LIBCPP_DISABLE_NEW_DELETE_DEFINITIONS)
|
||||
#else
|
||||
# include "support/runtime/new_handler_fallback.ipp"
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user