From 66bd9f17e9467b1eb5d6b2098b02241f03f8bbf6 Mon Sep 17 00:00:00 2001 From: comex Date: Tue, 15 Nov 2016 21:57:23 -0500 Subject: fix some ARM stuff including calls, and test it wow this code sucks --- lib/substitute-internal.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/substitute-internal.h') diff --git a/lib/substitute-internal.h b/lib/substitute-internal.h index c9b78f0..2d26e66 100644 --- a/lib/substitute-internal.h +++ b/lib/substitute-internal.h @@ -109,3 +109,7 @@ static const char *xbasename(const char *path) { return slash ? slash + 1 : path; } +#define substitute_assert(x) do { \ + if (!(x)) { __builtin_abort(); } \ +} while(0) + -- cgit v1.2.3