include(CheckDecl)
include(CheckDependency)
include(CheckHeader)
+include(CheckCompiles)
include(CheckType)
include(CheckStdatomic)
set(HAVE_DTRACE 1)
endif()
-##uuid
+## uuid
if(BUILD_TESTING)
check_dependency(LIBUUID uuid uuid/uuid.h)
endif()
check_decl(rcvtimeo sys/socket.h)
check_decl(sndtimeo sys/socket.h)
check_decl(strerror_r string.h)
+check_compiles(HAVE_STRERROR_R_CHAR_P "char x, y = *strerror_r(0,&x,1);" string.h)
check_decl(strerror string.h)
check_decl(abi::__cxa_demangle cxxabi.h)
set(HAVE_GCC_ABI_DEMANGLE ${HAVE_ABI____CXA_DEMANGLE})