From 36188c4bbe12758bb4afdd27176b0cfee96d3a5f Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Mon, 5 Mar 2018 23:12:03 -0600 Subject: [PATCH] Remove assert implementation on non-stdlib builds, as the asserts use stdlib (synced from c5bf8591e317f83e03f0f1bf0d3e43a405279665) --- src/ox/std/assert.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ox/std/assert.cpp b/src/ox/std/assert.cpp index 1778ea6dc..7bf1d88d5 100644 --- a/src/ox/std/assert.cpp +++ b/src/ox/std/assert.cpp @@ -12,8 +12,10 @@ #endif void oxAssert(const char *file, int line, bool pass, const char *msg) { +#if defined(OX_USE_STDLIB) if (!pass) { std::cerr << '(' << file << ':' << line << "): " << msg << std::endl; std::abort(); } +#endif } \ No newline at end of file