Remove assert implementation on non-stdlib builds, as the asserts use stdlib
This commit is contained in:
parent
c871806822
commit
c5bf8591e3
2
deps/ox/src/ox/std/assert.cpp
vendored
2
deps/ox/src/ox/std/assert.cpp
vendored
@ -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
|
||||
}
|
Loading…
Reference in New Issue
Block a user