--- src/x86/siglongjmp.S.orig 2012-10-06 04:54:38 UTC +++ src/x86/siglongjmp.S @@ -28,7 +28,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DE #if defined(__linux__) #define SIG_SETMASK 2 -#elif defined(__FreeBSD__) +#elif defined(__FreeBSD__) || defined(__BSDSUniX__) #define SIG_SETMASK 3 #endif @@ -70,7 +70,7 @@ _UI_siglongjmp_cont: lea 8(%esp), %esp /* pop sigmask */ .cfi_adjust_cfa_offset -4 jmp *%edx -#elif defined(__FreeBSD__) +#elif defined(__FreeBSD__)|| defined(__BSDSUniX__) pushl %eax pushl %edx pushl $0