Skip to content

Commit

Permalink
ffi-cdecl: automatically strip default visibility attribute from prot…
Browse files Browse the repository at this point in the history
…otypes
  • Loading branch information
benoit-pierre authored and Frenzie committed Jan 27, 2025
1 parent 2012696 commit d146b9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thirdparty/ffi-cdecl/ffi-cdecl.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,6 @@ if [[ ${dry_run} -ne 0 ]]; then
exit
fi

exec "${cmd[@]}"
"${cmd[@]}" | sed 's/ __attribute__((visibility("default")));$/;/'

# vim: sw=4

0 comments on commit d146b9a

Please sign in to comment.