mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-29 04:17:57 +01:00
Problem: style broken in src/windows.hpp
Solution: Wrap to lte 80 chars and fix it.
This commit is contained in:
@@ -37,7 +37,8 @@
|
|||||||
#define NOMINMAX // Macros min(a,b) and max(a,b)
|
#define NOMINMAX // Macros min(a,b) and max(a,b)
|
||||||
#endif
|
#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
|
#ifndef _WIN32_WINNT
|
||||||
#define _WIN32_WINNT 0x0600
|
#define _WIN32_WINNT 0x0600
|
||||||
#endif
|
#endif
|
||||||
@@ -62,7 +63,8 @@
|
|||||||
|
|
||||||
// Workaround missing Mstcpip.h in mingw32 (MinGW64 provides this)
|
// Workaround missing Mstcpip.h in mingw32 (MinGW64 provides this)
|
||||||
// __MINGW64_VERSION_MAJOR is only defined when using in mingw-w64
|
// __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 {
|
struct tcp_keepalive {
|
||||||
u_long onoff;
|
u_long onoff;
|
||||||
u_long keepalivetime;
|
u_long keepalivetime;
|
||||||
|
|||||||
Reference in New Issue
Block a user