Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
2b6200c4
Commit
2b6200c4
authored
Jun 02, 2016
by
Doron Somech
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2018 from diorcety/mingw64
Fix compilation with mingw64 using autotools
parents
7b063a06
9835e18f
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
26 additions
and
8 deletions
+26
-8
zmq.h
include/zmq.h
+14
-0
fd.hpp
src/fd.hpp
+4
-0
reaper.cpp
src/reaper.cpp
+1
-1
select.cpp
src/select.cpp
+1
-1
socket_base.cpp
src/socket_base.cpp
+1
-1
socks_connecter.cpp
src/socks_connecter.cpp
+1
-1
stream_engine.cpp
src/stream_engine.cpp
+1
-1
tcp_connecter.cpp
src/tcp_connecter.cpp
+1
-1
tcp_listener.cpp
src/tcp_listener.cpp
+1
-1
udp_engine.cpp
src/udp_engine.cpp
+1
-1
No files found.
include/zmq.h
View file @
2b6200c4
...
...
@@ -58,6 +58,20 @@ extern "C" {
#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 >= 0x0600)
#else
#undef _WIN32_WINNT
#define _WIN32_WINNT 0x0600
#endif
#endif
#include <winsock2.h>
#endif
...
...
src/fd.hpp
View file @
2b6200c4
...
...
@@ -30,6 +30,10 @@
#ifndef __ZMQ_FD_HPP_INCLUDED__
#define __ZMQ_FD_HPP_INCLUDED__
#if defined _WIN32
#include <windows.hpp>
#endif
namespace
zmq
{
#ifdef ZMQ_HAVE_WINDOWS
...
...
src/reaper.cpp
View file @
2b6200c4
...
...
@@ -35,7 +35,7 @@
zmq
::
reaper_t
::
reaper_t
(
class
ctx_t
*
ctx_
,
uint32_t
tid_
)
:
object_t
(
ctx_
,
tid_
),
mailbox_handle
(
NULL
),
mailbox_handle
(
(
poller_t
::
handle_t
)
NULL
),
sockets
(
0
),
terminating
(
false
)
{
...
...
src/select.cpp
View file @
2b6200c4
...
...
@@ -277,7 +277,7 @@ void zmq::select_t::loop ()
if
(
family_entries
.
size
()
>
1
)
{
rc
=
WSAWaitForMultipleEvents
(
4
,
wsa_events
.
events
,
FALSE
,
timeout
?
timeout
:
INFINITE
,
FALSE
);
wsa_assert
(
rc
!=
WSA_WAIT_FAILED
);
wsa_assert
(
rc
!=
(
int
)
WSA_WAIT_FAILED
);
zmq_assert
(
rc
!=
WSA_WAIT_IO_COMPLETION
);
if
(
rc
==
WSA_WAIT_TIMEOUT
)
...
...
src/socket_base.cpp
View file @
2b6200c4
...
...
@@ -194,7 +194,7 @@ zmq::socket_base_t::socket_base_t (ctx_t *parent_, uint32_t tid_, int sid_, bool
ctx_terminated
(
false
),
destroyed
(
false
),
poller
(
NULL
),
handle
(
NULL
),
handle
(
(
poller_t
::
handle_t
)
NULL
),
last_tsc
(
0
),
ticks
(
0
),
rcvmore
(
false
),
...
...
src/socks_connecter.cpp
View file @
2b6200c4
...
...
@@ -58,7 +58,7 @@ zmq::socks_connecter_t::socks_connecter_t (class io_thread_t *io_thread_,
proxy_addr
(
proxy_addr_
),
status
(
unplugged
),
s
(
retired_fd
),
handle
(
NULL
),
handle
(
(
handle_t
)
NULL
),
handle_valid
(
false
),
delayed_start
(
delayed_start_
),
timer_started
(
false
),
...
...
src/stream_engine.cpp
View file @
2b6200c4
...
...
@@ -61,7 +61,7 @@ zmq::stream_engine_t::stream_engine_t (fd_t fd_, const options_t &options_,
const
std
::
string
&
endpoint_
)
:
s
(
fd_
),
as_server
(
false
),
handle
(
NULL
),
handle
(
(
handle_t
)
NULL
),
inpos
(
NULL
),
insize
(
0
),
decoder
(
NULL
),
...
...
src/tcp_connecter.cpp
View file @
2b6200c4
...
...
@@ -64,7 +64,7 @@ zmq::tcp_connecter_t::tcp_connecter_t (class io_thread_t *io_thread_,
io_object_t
(
io_thread_
),
addr
(
addr_
),
s
(
retired_fd
),
handle
(
NULL
),
handle
(
(
handle_t
)
NULL
),
handle_valid
(
false
),
delayed_start
(
delayed_start_
),
connect_timer_started
(
false
),
...
...
src/tcp_listener.cpp
View file @
2b6200c4
...
...
@@ -62,7 +62,7 @@ zmq::tcp_listener_t::tcp_listener_t (io_thread_t *io_thread_,
own_t
(
io_thread_
,
options_
),
io_object_t
(
io_thread_
),
s
(
retired_fd
),
handle
(
NULL
),
handle
(
(
handle_t
)
NULL
),
socket
(
socket_
)
{
}
...
...
src/udp_engine.cpp
View file @
2b6200c4
...
...
@@ -47,7 +47,7 @@ zmq::udp_engine_t::udp_engine_t(const options_t &options_) :
plugged
(
false
),
fd
(
-
1
),
session
(
NULL
),
handle
(
NULL
),
handle
(
(
handle_t
)
NULL
),
address
(
NULL
),
options
(
options_
),
send_enabled
(
false
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment