-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
185 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,5 @@ module( | |
version = "4.3.5.bcr.2", | ||
compatibility_level = 4, | ||
) | ||
|
||
bazel_dep(name = "platforms", version = "0.0.10") |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,147 @@ | ||
#ifndef __ZMQ_PLATFORM_HPP_INCLUDED__ | ||
#define __ZMQ_PLATFORM_HPP_INCLUDED__ | ||
|
||
#define ZMQ_USE_CV_IMPL_STL11 | ||
/* #undef ZMQ_USE_CV_IMPL_WIN32API */ | ||
/* #undef ZMQ_USE_CV_IMPL_PTHREADS */ | ||
/* #undef ZMQ_USE_CV_IMPL_NONE */ | ||
|
||
/* #undef ZMQ_IOTHREAD_POLLER_USE_KQUEUE */ | ||
#define ZMQ_IOTHREAD_POLLER_USE_EPOLL | ||
#define ZMQ_IOTHREAD_POLLER_USE_EPOLL_CLOEXEC | ||
/* #undef ZMQ_IOTHREAD_POLLER_USE_DEVPOLL */ | ||
/* #undef ZMQ_IOTHREAD_POLLER_USE_POLLSET */ | ||
/* #undef ZMQ_IOTHREAD_POLLER_USE_POLL */ | ||
/* #undef ZMQ_IOTHREAD_POLLER_USE_SELECT */ | ||
#define ZMQ_HAVE_PPOLL | ||
|
||
/* #undef ZMQ_POLL_BASED_ON_SELECT */ | ||
#define ZMQ_POLL_BASED_ON_POLL | ||
|
||
#define HAVE_POSIX_MEMALIGN 1 | ||
#define ZMQ_CACHELINE_SIZE 64 | ||
|
||
/* #undef ZMQ_FORCE_MUTEXES */ | ||
|
||
#define HAVE_FORK | ||
#define HAVE_CLOCK_GETTIME | ||
/* #undef HAVE_GETHRTIME */ | ||
#define HAVE_MKDTEMP | ||
#define ZMQ_HAVE_UIO | ||
|
||
#define ZMQ_HAVE_NOEXCEPT | ||
|
||
#define ZMQ_HAVE_EVENTFD | ||
#define ZMQ_HAVE_EVENTFD_CLOEXEC | ||
#define ZMQ_HAVE_IFADDRS | ||
#define ZMQ_HAVE_SO_BINDTODEVICE | ||
|
||
#define ZMQ_HAVE_SO_PEERCRED | ||
/* #undef ZMQ_HAVE_LOCAL_PEERCRED */ | ||
#define ZMQ_HAVE_BUSY_POLL | ||
|
||
#define ZMQ_HAVE_O_CLOEXEC | ||
|
||
#define ZMQ_HAVE_SOCK_CLOEXEC | ||
#define ZMQ_HAVE_SO_KEEPALIVE | ||
#define ZMQ_HAVE_SO_PRIORITY | ||
#define ZMQ_HAVE_TCP_KEEPCNT | ||
#define ZMQ_HAVE_TCP_KEEPIDLE | ||
#define ZMQ_HAVE_TCP_KEEPINTVL | ||
/* #undef ZMQ_HAVE_TCP_KEEPALIVE */ | ||
/* #undef ZMQ_HAVE_PTHREAD_SETNAME_1 */ | ||
#define ZMQ_HAVE_PTHREAD_SETNAME_2 | ||
/* #undef ZMQ_HAVE_PTHREAD_SETNAME_3 */ | ||
/* #undef ZMQ_HAVE_PTHREAD_SET_NAME */ | ||
#define ZMQ_HAVE_PTHREAD_SET_AFFINITY | ||
#define HAVE_ACCEPT4 | ||
#define HAVE_STRNLEN | ||
/* #undef ZMQ_HAVE_STRLCPY */ | ||
#define ZMQ_HAVE_LIBBSD | ||
|
||
#define ZMQ_HAVE_IPC | ||
#define ZMQ_HAVE_STRUCT_SOCKADDR_UN | ||
|
||
#define ZMQ_USE_BUILTIN_SHA1 | ||
/* #undef ZMQ_USE_NSS */ | ||
#define ZMQ_HAVE_WS | ||
/* #undef ZMQ_HAVE_WSS */ | ||
#define ZMQ_HAVE_TIPC | ||
|
||
/* #undef ZMQ_HAVE_OPENPGM */ | ||
/* #undef ZMQ_HAVE_NORM */ | ||
/* #undef ZMQ_HAVE_VMCI */ | ||
|
||
/* #undef ZMQ_MAKE_VALGRIND_HAPPY */ | ||
|
||
/* #undef ZMQ_HAVE_CURVE */ | ||
/* #undef ZMQ_USE_LIBSODIUM */ | ||
/* #undef SODIUM_STATIC */ | ||
/* #undef HAVE_LIBGSSAPI_KRB5 */ | ||
/* #undef ZMQ_USE_GNUTLS */ | ||
#define ZMQ_USE_RADIX_TREE | ||
#define HAVE_IF_NAMETOINDEX | ||
|
||
#ifdef _AIX | ||
#define ZMQ_HAVE_AIX | ||
#endif | ||
|
||
#if defined __ANDROID__ | ||
#define ZMQ_HAVE_ANDROID | ||
#endif | ||
|
||
#if defined __CYGWIN__ | ||
#define ZMQ_HAVE_CYGWIN | ||
#endif | ||
|
||
#if defined __MINGW32__ | ||
#define ZMQ_HAVE_MINGW32 | ||
#endif | ||
|
||
#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 | ||
|
||
#if defined __linux__ | ||
#define ZMQ_HAVE_LINUX | ||
#endif | ||
|
||
#if defined __NetBSD__ | ||
#define ZMQ_HAVE_NETBSD | ||
#endif | ||
|
||
#if defined __OpenBSD__ | ||
#define ZMQ_HAVE_OPENBSD | ||
#endif | ||
|
||
// TODO better move OS-specific defines to the automake files, and check for availability of IPC with an explicit test there | ||
#if defined __VMS | ||
#define ZMQ_HAVE_OPENVMS | ||
#undef ZMQ_HAVE_IPC | ||
#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 | ||
|
||
/* #undef ZMQ_HAVE_WINDOWS */ | ||
/* #undef ZMQ_HAVE_WINDOWS_UWP */ | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters