Skip to content

Commit cffb866

Browse files
committed
comments
1 parent 7c23d66 commit cffb866

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ if(MSVC)
6161
target_link_libraries(urcl ws2_32)
6262
else()
6363
if(APPLE)
64+
# macOS does not have a built in endian.h header
6465
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/endian)
6566
endif()
6667
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic")

src/comm/tcp_socket.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ void TCPSocket::setupOptions()
5656
int flag = 1;
5757
ur_setsockopt(socket_fd_, IPPROTO_TCP, TCP_NODELAY, &flag, sizeof(int));
5858

59+
// macOS does not have TCP_QUICKACK
5960
#ifdef TCP_QUICKACK
6061
ur_setsockopt(socket_fd_, IPPROTO_TCP, TCP_QUICKACK, &flag, sizeof(int));
6162
#endif

0 commit comments

Comments
 (0)