Skip to content

Commit

Permalink
Remove Windows-specific defines from zmq.h.
Browse files Browse the repository at this point in the history
These are redundant with the ones in windows.hpp
and aren't needed for the public interface.
  • Loading branch information
TobiSchluter authored and bluca committed May 26, 2021
1 parent 78ea4ee commit 2ac9755
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions include/zmq.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,21 +57,6 @@ extern "C" {
#endif
#include <stddef.h>
#include <stdio.h>
#if defined _WIN32
// 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

#ifdef __MINGW32__
// Require Windows XP or higher with MinGW for getaddrinfo().
#if (_WIN32_WINNT >= 0x0501)
#else
#error You need at least Windows XP target
#endif
#endif
#endif

/* Handle DSO symbol visibility */
#if defined _WIN32
Expand Down

0 comments on commit 2ac9755

Please sign in to comment.