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
d7666401
Unverified
Commit
d7666401
authored
Sep 13, 2019
by
Simon Giesecke
Committed by
GitHub
Sep 13, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3681 from TobiSchluter/bugfix/dont_include_winsock2
Bugfix/dont include winsock2
parents
3ecaf9fe
38d14473
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
2 deletions
+21
-2
TobiSchluter.md
RELICENSE/TobiSchluter.md
+15
-0
zmq.h
include/zmq.h
+6
-2
No files found.
RELICENSE/TobiSchluter.md
0 → 100644
View file @
d7666401
# Permission to Relicense under MPLv2 or any other OSI approved license chosen by the current ZeroMQ BDFL
This is a statement by Tobias Schlüter
that grants permission to relicense its copyrights in the libzmq C++
library (ZeroMQ) under the Mozilla Public License v2 (MPLv2) or any other
Open Source Initiative approved license chosen by the current ZeroMQ
BDFL (Benevolent Dictator for Life).
A portion of the commits made by the Github handle "TobiSchluter", with
commit author "TobiSchluter", are copyright of Tobias Schlüter .
This document hereby grants the libzmq project team to relicense libzmq,
including all past, present and future contributions of the author listed above.
Tobias Schlüter
2019/09/13
include/zmq.h
View file @
d7666401
...
...
@@ -71,7 +71,6 @@ extern "C" {
#error You need at least Windows XP target
#endif
#endif
#include <winsock2.h>
#endif
/* Handle DSO symbol visibility */
...
...
@@ -498,7 +497,12 @@ ZMQ_EXPORT int zmq_socket_monitor (void *s_, const char *addr_, int events_);
/******************************************************************************/
#if defined _WIN32
typedef
SOCKET
zmq_fd_t
;
// Windows uses a pointer-sized unsigned integer to store the socket fd.
#if defined _WIN64
typedef
unsigned
__int64
zmq_fd_t
;
#else
typedef
unsigned
int
zmq_fd_t
;
#endif
#else
typedef
int
zmq_fd_t
;
#endif
...
...
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