I posted this diff initially at https://github.com/microsoft/vcpkg/pull/44045 
because compiling libev with a MSVC compiler resulted in no backends:

-# if HAVE_SELECT && HAVE_SYS_SELECT_H
+# if HAVE_SELECT && (HAVE_SYS_SELECT_H || defined(_MSC_VER))
#  ifndef EV_USE_SELECT
#   define EV_USE_SELECT EV_FEATURE_BACKENDS
#  endif

Basically MSVC has no "sys/select.h" since MSVC uses winsocks2.h for the select 
function.

Could the change be incorporated?

Thanks. Jonah Beckford
_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/mailman/listinfo/libev

Reply via email to