mirror of
https://github.com/MariaDB/server.git
synced 2025-03-08 04:03:30 +01:00
9 lines
210 B
C
9 lines
210 B
C
#include "myassert.h"
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
#ifdef TESTER
|
|
void my_assert(int a, const char *f, int l) {
|
|
if (!a) { fprintf(stderr, "Assertion failed at %s:%d\n", f, l); abort(); }
|
|
}
|
|
#endif
|