Commit 599afa06 authored by Austin English's avatar Austin English Committed by Alexandre Julliard

server: Add missing checks for FreeBSD_kernel.

parent b2131923
......@@ -219,7 +219,7 @@ static inline int tkill( int tgid, int pid, int sig )
int ret = syscall( SYS_tgkill, tgid, pid, sig );
if (ret < 0 && errno == ENOSYS) ret = syscall( SYS_tkill, pid, sig );
return ret;
#elif defined(__FreeBSD__) && defined(HAVE_THR_KILL2)
#elif (defined(__FreeBSD__) || defined (__FreeBSD_kernel__)) && defined(HAVE_THR_KILL2)
return thr_kill2( tgid, pid, sig );
#else
errno = ENOSYS;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment