mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 05:12:45 +01:00
fixup! FreeBSD: fix build.
This commit is contained in:
parent
9e5b9a31c9
commit
4f937ea1f0
@ -20,6 +20,8 @@ for SYMBOL; do
|
|||||||
# has notleak_ as a declaration, and then an inline).
|
# has notleak_ as a declaration, and then an inline).
|
||||||
WHERE=$(grep -nH "^[a-zA-Z0-9_ (),]* [*]*$SYMBOL(" ./*/*.h | head -n1)
|
WHERE=$(grep -nH "^[a-zA-Z0-9_ (),]* [*]*$SYMBOL(" ./*/*.h | head -n1)
|
||||||
if [ x"$WHERE" != x ]; then
|
if [ x"$WHERE" != x ]; then
|
||||||
|
# \n on RHS is a GNU extension, and we want to work on FreeBSD
|
||||||
|
# shellcheck disable=SC1004
|
||||||
STUB='\
|
STUB='\
|
||||||
{ fprintf(stderr, "'$SYMBOL' called!\\n"); abort(); }'
|
{ fprintf(stderr, "'$SYMBOL' called!\\n"); abort(); }'
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user