swrap: wrap __close_nocancel() if available
[socket_wrapper.git] / ConfigureChecks.cmake
index bfb8c177fd66f84340c28821f96ceb0f897c30bc..2c78b83f168dabde65f1c1b20dc7c03bc0ff0b31 100644 (file)
@@ -74,6 +74,7 @@ check_function_exists(getexecname HAVE_GETEXECNAME)
 check_function_exists(pledge HAVE_PLEDGE)
 check_function_exists(_socket HAVE__SOCKET)
 check_function_exists(_close HAVE__CLOSE)
+check_function_exists(__close_nocancel HAVE___CLOSE_NOCANCEL)
 
 if (UNIX)
     find_library(DLFCN_LIBRARY dl)