Remove assert implementation on non-stdlib builds, as the asserts use stdlib

This commit is contained in:
Gary Talent 2018-03-05 23:12:03 -06:00
parent c871806822
commit c5bf8591e3

View File

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