[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:
Ranjeet Singh 2017-02-24 18:22:59 +00:00
parent bdc9c78880
commit b078439250
1 changed files with 1 additions and 1 deletions

View File

@ -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