--- Source/ThirdParty/gtest/m4/acx_pthread.m4.orig 2020-09-24 00:32:17.000000000 +1000 +++ Source/ThirdParty/gtest/m4/acx_pthread.m4 2020-09-24 01:21:13.941141000 +1000 @@ -219,7 +219,7 @@ AC_MSG_CHECKING([if more special flags are required for pthreads]) flag=no case "${host_cpu}-${host_os}" in - *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";; + *-bsdsunix* | *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";; *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";; esac AC_MSG_RESULT(${flag})