2012-12-31 23:52:32 +01:00
|
|
|
#ifndef __ZMQ_PLATFORM_HPP_INCLUDED__
|
|
|
|
#define __ZMQ_PLATFORM_HPP_INCLUDED__
|
|
|
|
|
2014-02-17 14:08:11 +01:00
|
|
|
#cmakedefine ZMQ_USE_KQUEUE
|
|
|
|
#cmakedefine ZMQ_USE_EPOLL
|
2016-12-26 18:01:36 +01:00
|
|
|
#cmakedefine ZMQ_USE_EPOLL_CLOEXEC
|
2014-02-17 14:08:11 +01:00
|
|
|
#cmakedefine ZMQ_USE_DEVPOLL
|
|
|
|
#cmakedefine ZMQ_USE_POLL
|
|
|
|
#cmakedefine ZMQ_USE_SELECT
|
2012-12-31 23:52:32 +01:00
|
|
|
|
|
|
|
#cmakedefine ZMQ_FORCE_MUTEXES
|
|
|
|
|
2014-03-18 21:04:52 +01:00
|
|
|
#cmakedefine HAVE_FORK
|
2012-12-31 23:52:32 +01:00
|
|
|
#cmakedefine HAVE_CLOCK_GETTIME
|
|
|
|
#cmakedefine HAVE_GETHRTIME
|
2016-04-10 23:45:35 +02:00
|
|
|
#cmakedefine HAVE_MKDTEMP
|
2012-12-31 23:52:32 +01:00
|
|
|
#cmakedefine ZMQ_HAVE_UIO
|
|
|
|
|
|
|
|
#cmakedefine ZMQ_HAVE_EVENTFD
|
2016-12-26 18:18:00 +01:00
|
|
|
#cmakedefine ZMQ_HAVE_EVENTFD_CLOEXEC
|
2012-12-31 23:52:32 +01:00
|
|
|
#cmakedefine ZMQ_HAVE_IFADDRS
|
2017-08-19 13:07:23 +02:00
|
|
|
#cmakedefine ZMQ_HAVE_SO_BINDTODEVICE
|
2012-12-31 23:52:32 +01:00
|
|
|
|
2013-12-06 19:55:44 +01:00
|
|
|
#cmakedefine ZMQ_HAVE_SO_PEERCRED
|
|
|
|
#cmakedefine ZMQ_HAVE_LOCAL_PEERCRED
|
|
|
|
|
2017-09-01 11:15:32 +02:00
|
|
|
#cmakedefine ZMQ_HAVE_O_CLOEXEC
|
|
|
|
|
2012-12-31 23:52:32 +01:00
|
|
|
#cmakedefine ZMQ_HAVE_SOCK_CLOEXEC
|
|
|
|
#cmakedefine ZMQ_HAVE_SO_KEEPALIVE
|
|
|
|
#cmakedefine ZMQ_HAVE_TCP_KEEPCNT
|
|
|
|
#cmakedefine ZMQ_HAVE_TCP_KEEPIDLE
|
|
|
|
#cmakedefine ZMQ_HAVE_TCP_KEEPINTVL
|
|
|
|
#cmakedefine ZMQ_HAVE_TCP_KEEPALIVE
|
2017-02-28 20:45:23 +01:00
|
|
|
#cmakedefine ZMQ_HAVE_PTHREAD_SETNAME_1
|
|
|
|
#cmakedefine ZMQ_HAVE_PTHREAD_SETNAME_2
|
|
|
|
#cmakedefine ZMQ_HAVE_PTHREAD_SETNAME_3
|
|
|
|
#cmakedefine ZMQ_HAVE_PTHREAD_SET_NAME
|
2017-11-17 19:40:53 +01:00
|
|
|
#cmakedefine HAVE_ACCEPT4
|
2012-12-31 23:52:32 +01:00
|
|
|
|
|
|
|
#cmakedefine ZMQ_HAVE_OPENPGM
|
|
|
|
#cmakedefine ZMQ_MAKE_VALGRIND_HAPPY
|
|
|
|
|
2016-02-11 18:06:07 +01:00
|
|
|
#cmakedefine ZMQ_HAVE_CURVE
|
2016-02-11 22:39:40 +01:00
|
|
|
#cmakedefine ZMQ_USE_TWEETNACL
|
2017-02-22 23:28:05 +01:00
|
|
|
#cmakedefine ZMQ_USE_LIBSODIUM
|
2017-08-10 19:04:15 +02:00
|
|
|
#cmakedefine SODIUM_STATIC
|
2012-12-31 23:52:32 +01:00
|
|
|
|
|
|
|
#ifdef _AIX
|
|
|
|
#define ZMQ_HAVE_AIX
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined ANDROID
|
|
|
|
#define ZMQ_HAVE_ANDROID
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined __CYGWIN__
|
|
|
|
#define ZMQ_HAVE_CYGWIN
|
|
|
|
#endif
|
|
|
|
|
2013-01-02 03:04:19 +01:00
|
|
|
#if defined __MINGW32__
|
|
|
|
#define ZMQ_HAVE_MINGW32
|
|
|
|
#endif
|
|
|
|
|
2012-12-31 23:52:32 +01:00
|
|
|
#if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__FreeBSD_kernel__)
|
|
|
|
#define ZMQ_HAVE_FREEBSD
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined __hpux
|
|
|
|
#define ZMQ_HAVE_HPUX
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined __linux__
|
|
|
|
#define ZMQ_HAVE_LINUX
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined __NetBSD__
|
|
|
|
#define ZMQ_HAVE_NETBSD
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined __OpenBSD__
|
|
|
|
#define ZMQ_HAVE_OPENBSD
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined __VMS
|
|
|
|
#define ZMQ_HAVE_OPENVMS
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined __APPLE__
|
|
|
|
#define ZMQ_HAVE_OSX
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined __QNXNTO__
|
|
|
|
#define ZMQ_HAVE_QNXNTO
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(sun) || defined(__sun)
|
|
|
|
#define ZMQ_HAVE_SOLARIS
|
|
|
|
#endif
|
|
|
|
|
2013-01-28 00:09:32 +01:00
|
|
|
#cmakedefine ZMQ_HAVE_WINDOWS
|
2017-04-04 10:50:33 +02:00
|
|
|
#cmakedefine ZMQ_HAVE_WINDOWS_UWP
|
2012-12-31 23:52:32 +01:00
|
|
|
|
2016-02-11 18:06:07 +01:00
|
|
|
#endif
|