File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ endif()
7373message (STATUS "VCPKG TRIPLET: ${VCPKG_TARGET_TRIPLET} " )
7474
7575# Don't specify languages yet in case we need to bump the cmake version
76- project (EternalTCP VERSION 6.2.0 LANGUAGES NONE)
76+ project (EternalTCP VERSION 6.2.1 LANGUAGES NONE)
7777
7878if (WIN32 )
7979message (STATUS "Windows detected. Bumping up cmake version." )
Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ inline int close(int fd) { return ::closesocket(fd); }
7373#include < locale>
7474#include < memory>
7575#include < mutex>
76+ #include < optional>
7677#include < set>
7778#include < sstream>
7879#include < streambuf>
@@ -88,7 +89,8 @@ inline int close(int fd) { return ::closesocket(fd); }
8889#include < Availability.h>
8990#endif
9091
91- #if defined(__APPLE__) && __MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_15
92+ #if defined(__APPLE__) && \
93+ __MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_15
9294#if __has_include(<boost/filesystem.hpp>)
9395#include < boost/filesystem.hpp>
9496namespace fs = boost::filesystem;
@@ -353,9 +355,8 @@ inline bool waitOnSocketData(int fd) {
353355 } else {
354356 FATAL_FAIL (selectResult);
355357 }
356- } else {
357- return FD_ISSET (fd, &fdset);
358358 }
359+ return FD_ISSET (fd, &fdset);
359360}
360361
361362inline string genRandomAlphaNum (int len) {
You can’t perform that action at this time.
0 commit comments