diff options
author | comex | 2016-11-15 21:57:23 -0500 |
---|---|---|
committer | comex | 2016-11-15 21:57:23 -0500 |
commit | 66bd9f17e9467b1eb5d6b2098b02241f03f8bbf6 (patch) | |
tree | db2bde0572ddac99f148d46c43c7122849fb7487 /lib/substitute-internal.h | |
parent | fix bool arguments with false default (diff) | |
download | substitute-66bd9f17e9467b1eb5d6b2098b02241f03f8bbf6.tar.gz |
fix some ARM stuff including calls, and test it
wow this code sucks
Diffstat (limited to '')
-rw-r--r-- | lib/substitute-internal.h | 4 |
1 files changed, 4 insertions, 0 deletions
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) + |