Skip to content

Commit

Permalink
Merge branch 'master' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
MisterTea committed May 5, 2022
2 parents 0b92c47 + 113fb23 commit 63b2adc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ endif()
message(STATUS "VCPKG TRIPLET: ${VCPKG_TARGET_TRIPLET}")

# Don't specify languages yet in case we need to bump the cmake version
project(EternalTCP VERSION 6.2.0 LANGUAGES NONE)
project(EternalTCP VERSION 6.2.1 LANGUAGES NONE)

if(WIN32)
message(STATUS "Windows detected. Bumping up cmake version.")
Expand Down
7 changes: 4 additions & 3 deletions src/base/Headers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ inline int close(int fd) { return ::closesocket(fd); }
#include <locale>
#include <memory>
#include <mutex>
#include <optional>
#include <set>
#include <sstream>
#include <streambuf>
Expand All @@ -88,7 +89,8 @@ inline int close(int fd) { return ::closesocket(fd); }
#include <Availability.h>
#endif

#if defined(__APPLE__) && __MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_15
#if defined(__APPLE__) && \
__MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_15
#if __has_include(<boost/filesystem.hpp>)
#include <boost/filesystem.hpp>
namespace fs = boost::filesystem;
Expand Down Expand Up @@ -353,9 +355,8 @@ inline bool waitOnSocketData(int fd) {
} else {
FATAL_FAIL(selectResult);
}
} else {
return FD_ISSET(fd, &fdset);
}
return FD_ISSET(fd, &fdset);
}

inline string genRandomAlphaNum(int len) {
Expand Down

0 comments on commit 63b2adc

Please sign in to comment.