mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-06 00:31:13 +01:00
problem: configure for DragonFly need FreeBSD also defined
solution: on DragonFly also define ZMQ_HAVE_FREEBSD in addition to ZMQ_HAVe_DRAGONFLY Signed-off-by: Christopher Hall <hsw@ms2.hinet.net>
This commit is contained in:
parent
6b6043600e
commit
ba679bcce8
@ -75,10 +75,15 @@
|
|||||||
#define ZMQ_HAVE_MINGW32
|
#define ZMQ_HAVE_MINGW32
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__FreeBSD_kernel__)
|
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
|
||||||
#define ZMQ_HAVE_FREEBSD
|
#define ZMQ_HAVE_FREEBSD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__DragonFly__)
|
||||||
|
#define ZMQ_HAVE_FREEBSD
|
||||||
|
#define ZMQ_HAVE_DRAGONFLY
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined __hpux
|
#if defined __hpux
|
||||||
#define ZMQ_HAVE_HPUX
|
#define ZMQ_HAVE_HPUX
|
||||||
#endif
|
#endif
|
||||||
|
@ -233,6 +233,7 @@ case "${host_os}" in
|
|||||||
;;
|
;;
|
||||||
*dragonfly*)
|
*dragonfly*)
|
||||||
CPPFLAGS="-D__BSD_VISIBLE $CPPFLAGS"
|
CPPFLAGS="-D__BSD_VISIBLE $CPPFLAGS"
|
||||||
|
AC_DEFINE(ZMQ_HAVE_FREEBSD, 1, [Have DragonFly OS])
|
||||||
AC_DEFINE(ZMQ_HAVE_DRAGONFLY, 1, [Have DragonFly OS])
|
AC_DEFINE(ZMQ_HAVE_DRAGONFLY, 1, [Have DragonFly OS])
|
||||||
;;
|
;;
|
||||||
*darwin*)
|
*darwin*)
|
||||||
|
Loading…
Reference in New Issue
Block a user