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
c3eab89e
Unverified
Commit
c3eab89e
authored
Aug 06, 2019
by
Simon Giesecke
Committed by
GitHub
Aug 06, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3608 from hxw/master
[DragonFlyBSD] fix for IPv4 mapping not supported
parents
6b604360
72854e63
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
platform.hpp.in
builds/cmake/platform.hpp.in
+6
-1
configure.ac
configure.ac
+1
-0
ip.cpp
src/ip.cpp
+1
-1
No files found.
builds/cmake/platform.hpp.in
View file @
c3eab89e
...
...
@@ -75,10 +75,15 @@
#define ZMQ_HAVE_MINGW32
#endif
#if defined(__FreeBSD__) || defined(__
DragonFly__) || defined(__
FreeBSD_kernel__)
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
#define ZMQ_HAVE_FREEBSD
#endif
#if defined(__DragonFly__)
#define ZMQ_HAVE_FREEBSD
#define ZMQ_HAVE_DRAGONFLY
#endif
#if defined __hpux
#define ZMQ_HAVE_HPUX
#endif
...
...
configure.ac
View file @
c3eab89e
...
...
@@ -233,6 +233,7 @@ case "${host_os}" in
;;
*dragonfly*)
CPPFLAGS="-D__BSD_VISIBLE $CPPFLAGS"
AC_DEFINE(ZMQ_HAVE_FREEBSD, 1, [Have DragonFly OS])
AC_DEFINE(ZMQ_HAVE_DRAGONFLY, 1, [Have DragonFly OS])
;;
*darwin*)
...
...
src/ip.cpp
View file @
c3eab89e
...
...
@@ -129,7 +129,7 @@ void zmq::enable_ipv4_mapping (fd_t s_)
{
LIBZMQ_UNUSED
(
s_
);
#if defined IPV6_V6ONLY && !defined ZMQ_HAVE_OPENBSD
#if defined IPV6_V6ONLY && !defined ZMQ_HAVE_OPENBSD
&& !defined ZMQ_HAVE_DRAGONFLY
#ifdef ZMQ_HAVE_WINDOWS
DWORD
flag
=
0
;
#else
...
...
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