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
ee984b1f
Commit
ee984b1f
authored
Sep 03, 2015
by
Markus Pfeiffer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make DragonFly a first class citizen in terms of compilation
parent
32d7da11
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
configure.ac
configure.ac
+4
-0
gssapi_mechanism_base.hpp
src/gssapi_mechanism_base.hpp
+1
-1
tcp_address.cpp
src/tcp_address.cpp
+4
-3
No files found.
configure.ac
View file @
ee984b1f
...
...
@@ -193,6 +193,10 @@ case "${host_os}" in
CPPFLAGS="-D__BSD_VISIBLE $CPPFLAGS"
AC_DEFINE(ZMQ_HAVE_FREEBSD, 1, [Have FreeBSD OS])
;;
*dragonfly*)
CPPFLAGS="-D__BSD_VISIBLE $CPPFLAGS"
AC_DEFINE(ZMQ_HAVE_DRAGONFLY, 1, [Have DragonFly OS])
;;
*darwin*)
# Define on Darwin to enable all library features
CPPFLAGS="-D_DARWIN_C_SOURCE $CPPFLAGS"
...
...
src/gssapi_mechanism_base.hpp
View file @
ee984b1f
...
...
@@ -34,7 +34,7 @@
#ifdef HAVE_LIBGSSAPI_KRB5
#if
ndef ZMQ_HAVE_FREEBSD
#if
!defined(ZMQ_HAVE_FREEBSD) && !defined(ZMQ_HAVE_DRAGONFLY)
#include <gssapi/gssapi_generic.h>
#endif
#include <gssapi/gssapi_krb5.h>
...
...
src/tcp_address.cpp
View file @
ee984b1f
...
...
@@ -157,7 +157,8 @@ int zmq::tcp_address_t::resolve_nic_name (const char *nic_, bool ipv6_, bool is_
#elif ((defined ZMQ_HAVE_LINUX || defined ZMQ_HAVE_FREEBSD ||\
defined ZMQ_HAVE_OSX || defined ZMQ_HAVE_OPENBSD ||\
defined ZMQ_HAVE_QNXNTO || defined ZMQ_HAVE_NETBSD)\
defined ZMQ_HAVE_QNXNTO || defined ZMQ_HAVE_NETBSD ||\
defined ZMQ_HAVE_DRAGONFLY)\
&& defined ZMQ_HAVE_IFADDRS)
#include <ifaddrs.h>
...
...
@@ -280,7 +281,7 @@ int zmq::tcp_address_t::resolve_interface (const char *interface_, bool ipv6_, b
// service-name irregularity due to indeterminate socktype.
req
.
ai_flags
=
AI_PASSIVE
|
AI_NUMERICHOST
;
#if defined AI_V4MAPPED && !defined ZMQ_HAVE_FREEBSD
#if defined AI_V4MAPPED && !defined ZMQ_HAVE_FREEBSD
&& !defined ZMQ_HAVE_DRAGONFLY
// In this API we only require IPv4-mapped addresses when
// no native IPv6 interfaces are available (~AI_ALL).
// This saves an additional DNS roundtrip for IPv4 addresses.
...
...
@@ -330,7 +331,7 @@ int zmq::tcp_address_t::resolve_hostname (const char *hostname_, bool ipv6_, boo
// doesn't really matter, since it's not included in the addr-output.
req
.
ai_socktype
=
SOCK_STREAM
;
#if defined AI_V4MAPPED && !defined ZMQ_HAVE_FREEBSD
#if defined AI_V4MAPPED && !defined ZMQ_HAVE_FREEBSD
&& !defined ZMQ_HAVE_DRAGONFLY
// In this API we only require IPv4-mapped addresses when
// no native IPv6 interfaces are available.
// This saves an additional DNS roundtrip for IPv4 addresses.
...
...
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