Skip to content

Commit

Permalink
Merge pull request #2008 from hitstergtd/x-fix-windowshpp-style
Browse files Browse the repository at this point in the history
Problem: style broken in src/windows.hpp
  • Loading branch information
bluca committed May 23, 2016
2 parents 4cd630f + 40a2ed9 commit 5708051
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/windows.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
#define NOMINMAX // Macros min(a,b) and max(a,b)
#endif

// Set target version to Windows Server 2008, Windows Vista or higher. Windows XP (0x0501) is also supported but without client & server socket types.
// Set target version to Windows Server 2008, Windows Vista or higher.
// Windows XP (0x0501) is supported but without client & server socket types.
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0600
#endif
Expand All @@ -62,7 +63,8 @@

// Workaround missing Mstcpip.h in mingw32 (MinGW64 provides this)
// __MINGW64_VERSION_MAJOR is only defined when using in mingw-w64
#if defined __MINGW32__ && !defined SIO_KEEPALIVE_VALS && !defined __MINGW64_VERSION_MAJOR
#if defined __MINGW32__ && !defined SIO_KEEPALIVE_VALS && \
!defined __MINGW64_VERSION_MAJOR
struct tcp_keepalive {
u_long onoff;
u_long keepalivetime;
Expand Down

0 comments on commit 5708051

Please sign in to comment.