From jonah at diskuv.com Thu Feb 27 14:43:10 2025 From: jonah at diskuv.com (Jonah Beckford) Date: Thu, 27 Feb 2025 13:43:10 +0000 Subject: Small change to get MSVC compiler to see the select backend Message-ID: 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: