paulfloyd / freebsd_valgrind

Git repo used to Upstream the FreeBSD Port of Valgrind
GNU General Public License v2.0
15 stars 4 forks source link

coregrind: m_syswrap: fix the build on FreeBSD 11.3 #119

Closed kevans91 closed 4 years ago

kevans91 commented 4 years ago

The only error that crops up on FreeBSD 11.3 is that the syswrap bits for sys_fake_sigreturn are only declared for >= FreeBSD12. Discussion with paulfloyd out-of-band shows this to be essential for all versions, so move the declaration out.