forked from OSchip/llvm-project
[libcxxabi] Fix condition typo in rL296136
Made a mistake in the condition typo because LIBCXXABI_BAREMETAL is always defined, I should have been checking the contents to see if it's enabled. Differential Revision: https://reviews.llvm.org/D30343 llvm-svn: 296146
This commit is contained in:
parent
bdc9c78880
commit
b078439250
|
@ -35,7 +35,7 @@ __attribute__((visibility("hidden"), noreturn))
|
|||
void abort_message(const char* format, ...)
|
||||
{
|
||||
// write message to stderr
|
||||
#if !defined(NDEBUG) && !defined(LIBCXXABI_BAREMETAL)
|
||||
#if !defined(NDEBUG) || !LIBCXXABI_BAREMETAL
|
||||
#ifdef __APPLE__
|
||||
fprintf(stderr, "libc++abi.dylib: ");
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue