#include "MCAssert.h" #include #include void MCAssertInternal(const char * filename, unsigned int line, int cond, const char * condString) { if (cond) { return; } fprintf(stderr, "%s:%u: assert %s\n", filename, line, condString); abort(); }