Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
maxsharabayko authored Apr 16, 2024
1 parent ed29c73 commit dd49c5b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -627,10 +627,6 @@ endif()
message(STATUS "STDCXX_SYNC: ${ENABLE_STDCXX_SYNC}")
message(STATUS "MONOTONIC_CLOCK: ${ENABLE_MONOTONIC_CLOCK}")

if (ENABLE_CXX11)
add_definitions(-DENABLE_CXX11=1)
endif()

if (ENABLE_SOCK_CLOEXEC)
add_definitions(-DENABLE_SOCK_CLOEXEC=1)
endif()
Expand Down
2 changes: 1 addition & 1 deletion srtcore/channel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ int srt::CChannel::sendto(const sockaddr_any& addr, CPacket& packet, const socka
private:
WSAEVENT e;
};
#if ENABLE_CXX11
#ifndef __MINGW32__
thread_local WSAEventRef lEvent;
#else
WSAEventRef lEvent;
Expand Down

0 comments on commit dd49c5b

Please sign in to comment.