cmake HAVE_WSAPOLL examples

SWI-Prolog/swipl-devel cmake/Config.cmake :375

check_function_exists(WSAPoll HAVE_WSAPOLL)