diff --git a/deps/ox/src/ox/std/assert.cpp b/deps/ox/src/ox/std/assert.cpp index 1778ea6d..7bf1d88d 100644 --- a/deps/ox/src/ox/std/assert.cpp +++ b/deps/ox/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