aboutsummaryrefslogtreecommitdiffstats
path: root/test.h
blob: a622cba6add6b325a78beb375b9bb5c3636901e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
/* See LICENSE file for copyright and license details. */


#define assert(EXPR)\
	do {\
		if (EXPR)\
			break;\
		fprintf(stderr, "Failed at %s:%i: %s\n", __FILE__, __LINE__, #EXPR);\
		exit(1);\
	} while (0)

#define strcmp(...) strcmpnul(__VA_ARGS__)