platform.hpp 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300
  1. /* src/platform.hpp. Generated from platform.hpp.in by configure. */
  2. /* src/platform.hpp.in. Generated from configure.ac by autoheader. */
  3. /* Define to 1 if you have the <alloca.h> header file. */
  4. /* #undef HAVE_ALLOCA_H */
  5. /* Define to 1 if you have the <arpa/inet.h> header file. */
  6. #define HAVE_ARPA_INET_H 1
  7. /* Define to 1 if you have the `clock_gettime' function. */
  8. /* #undef HAVE_CLOCK_GETTIME */
  9. /* Define to 1 if you have the declaration of `LOCAL_PEERCRED', and to 0 if
  10. you don't. */
  11. #define HAVE_DECL_LOCAL_PEERCRED 0
  12. /* Define to 1 if you have the declaration of `SO_PEERCRED', and to 0 if you
  13. don't. */
  14. #define HAVE_DECL_SO_PEERCRED 0
  15. /* Define to 1 if you have the <dlfcn.h> header file. */
  16. #define HAVE_DLFCN_H 1
  17. /* Define to 1 if you have the <errno.h> header file. */
  18. #define HAVE_ERRNO_H 1
  19. /* Define to 1 if you have the `fork' function. */
  20. #define HAVE_FORK 1
  21. /* Define to 1 if you have the `freeifaddrs' function. */
  22. #define HAVE_FREEIFADDRS 1
  23. /* Define to 1 if you have the `gethrtime' function. */
  24. /* #undef HAVE_GETHRTIME */
  25. /* Define to 1 if you have the `getifaddrs' function. */
  26. #define HAVE_GETIFADDRS 1
  27. /* Define to 1 if you have the `gettimeofday' function. */
  28. #define HAVE_GETTIMEOFDAY 1
  29. /* Define to 1 if you have the <ifaddrs.h> header file. */
  30. #define HAVE_IFADDRS_H 1
  31. /* Define to 1 if you have the <inttypes.h> header file. */
  32. #define HAVE_INTTYPES_H 1
  33. /* Define to 1 if you have the `gssapi_krb5' library (-lgssapi_krb5). */
  34. /* #undef HAVE_LIBGSSAPI_KRB5 */
  35. /* Define to 1 if you have the `iphlpapi' library (-liphlpapi). */
  36. /* #undef HAVE_LIBIPHLPAPI */
  37. /* Define to 1 if you have the `nsl' library (-lnsl). */
  38. /* #undef HAVE_LIBNSL */
  39. /* Define to 1 if you have the `pthread' library (-lpthread). */
  40. /* #undef HAVE_LIBPTHREAD */
  41. /* Define to 1 if you have the `rpcrt4' library (-lrpcrt4). */
  42. /* #undef HAVE_LIBRPCRT4 */
  43. /* Define to 1 if you have the `rt' library (-lrt). */
  44. /* #undef HAVE_LIBRT */
  45. /* Define to 1 if you have the `socket' library (-lsocket). */
  46. /* #undef HAVE_LIBSOCKET */
  47. /* Define to 1 if you have the `sodium' library (-lsodium). */
  48. /* #undef HAVE_LIBSODIUM */
  49. /* Define to 1 if you have the `ws2_32' library (-lws2_32). */
  50. /* #undef HAVE_LIBWS2_32 */
  51. /* Define to 1 if you have the <limits.h> header file. */
  52. #define HAVE_LIMITS_H 1
  53. /* Define to 1 if you have the <memory.h> header file. */
  54. #define HAVE_MEMORY_H 1
  55. /* Define to 1 if you have the `memset' function. */
  56. #define HAVE_MEMSET 1
  57. /* Define to 1 if you have the <netinet/in.h> header file. */
  58. #define HAVE_NETINET_IN_H 1
  59. /* Define to 1 if you have the <netinet/tcp.h> header file. */
  60. #define HAVE_NETINET_TCP_H 1
  61. /* Define to 1 if you have the `perror' function. */
  62. #define HAVE_PERROR 1
  63. /* Define to 1 if you have the `socket' function. */
  64. #define HAVE_SOCKET 1
  65. /* Define to 1 if stdbool.h conforms to C99. */
  66. /* #undef HAVE_STDBOOL_H */
  67. /* Define to 1 if you have the <stddef.h> header file. */
  68. #define HAVE_STDDEF_H 1
  69. /* Define to 1 if you have the <stdint.h> header file. */
  70. #define HAVE_STDINT_H 1
  71. /* Define to 1 if you have the <stdlib.h> header file. */
  72. #define HAVE_STDLIB_H 1
  73. /* Define to 1 if you have the <strings.h> header file. */
  74. #define HAVE_STRINGS_H 1
  75. /* Define to 1 if you have the <string.h> header file. */
  76. #define HAVE_STRING_H 1
  77. /* Define to 1 if you have the <sys/eventfd.h> header file. */
  78. /* #undef HAVE_SYS_EVENTFD_H */
  79. /* Define to 1 if you have the <sys/socket.h> header file. */
  80. #define HAVE_SYS_SOCKET_H 1
  81. /* Define to 1 if you have the <sys/stat.h> header file. */
  82. #define HAVE_SYS_STAT_H 1
  83. /* Define to 1 if you have the <sys/time.h> header file. */
  84. #define HAVE_SYS_TIME_H 1
  85. /* Define to 1 if you have the <sys/types.h> header file. */
  86. #define HAVE_SYS_TYPES_H 1
  87. /* Define to 1 if you have the <sys/uio.h> header file. */
  88. #define HAVE_SYS_UIO_H 1
  89. /* Define to 1 if you have the <time.h> header file. */
  90. #define HAVE_TIME_H 1
  91. /* Define to 1 if you have the <unistd.h> header file. */
  92. #define HAVE_UNISTD_H 1
  93. /* Define to 1 if you have the <windows.h> header file. */
  94. /* #undef HAVE_WINDOWS_H */
  95. /* Define to 1 if the system has the type `_Bool'. */
  96. /* #undef HAVE__BOOL */
  97. /* Define to the sub-directory in which libtool stores uninstalled libraries.
  98. */
  99. #define LT_OBJDIR ".libs/"
  100. /* Name of package */
  101. #define PACKAGE "zeromq"
  102. /* Define to the address where bug reports for this package should be sent. */
  103. #define PACKAGE_BUGREPORT "zeromq-dev@lists.zeromq.org"
  104. /* Define to the full name of this package. */
  105. #define PACKAGE_NAME "zeromq"
  106. /* Define to the full name and version of this package. */
  107. #define PACKAGE_STRING "zeromq 4.1.0"
  108. /* Define to the one symbol short name of this package. */
  109. #define PACKAGE_TARNAME "zeromq"
  110. /* Define to the home page for this package. */
  111. #define PACKAGE_URL ""
  112. /* Define to the version of this package. */
  113. #define PACKAGE_VERSION "4.1.0"
  114. /* Define as the return type of signal handlers (`int' or `void'). */
  115. #define RETSIGTYPE void
  116. /* Define to 1 if you have the ANSI C header files. */
  117. #define STDC_HEADERS 1
  118. /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
  119. #define TIME_WITH_SYS_TIME 1
  120. /* Version number of package */
  121. #define VERSION "4.1.0"
  122. /* Enable militant API assertions */
  123. /* #undef ZMQ_ACT_MILITANT */
  124. /* Force to use mutexes */
  125. /* #undef ZMQ_FORCE_MUTEXES */
  126. /* Have AIX OS */
  127. /* #undef ZMQ_HAVE_AIX */
  128. /* Have Android OS */
  129. /* #undef ZMQ_HAVE_ANDROID */
  130. /* Have Cygwin */
  131. /* #undef ZMQ_HAVE_CYGWIN */
  132. /* Have eventfd extension. */
  133. /* #undef ZMQ_HAVE_EVENTFD */
  134. /* Have FreeBSD OS */
  135. /* #undef ZMQ_HAVE_FREEBSD */
  136. /* Have HPUX OS */
  137. /* #undef ZMQ_HAVE_HPUX */
  138. /* Have ifaddrs.h header. */
  139. #define ZMQ_HAVE_IFADDRS 1
  140. /* Have Linux OS */
  141. /* #undef ZMQ_HAVE_LINUX */
  142. /* Have LOCAL_PEERCRED socket option */
  143. /* #undef ZMQ_HAVE_LOCAL_PEERCRED */
  144. /* Have MinGW32 */
  145. /* #undef ZMQ_HAVE_MINGW32 */
  146. /* Have NetBSD OS */
  147. /* #undef ZMQ_HAVE_NETBSD */
  148. /* Have NORM protocol extension */
  149. /* #undef ZMQ_HAVE_NORM */
  150. /* Have OpenBSD OS */
  151. /* #undef ZMQ_HAVE_OPENBSD */
  152. /* Have OpenPGM extension */
  153. /* #undef ZMQ_HAVE_OPENPGM */
  154. /* Have DarwinOSX OS */
  155. /* #undef ZMQ_HAVE_OSX */
  156. /* Have QNX Neutrino OS */
  157. /* #undef ZMQ_HAVE_QNXNTO */
  158. /* Whether SOCK_CLOEXEC is defined and functioning. */
  159. /* #undef ZMQ_HAVE_SOCK_CLOEXEC */
  160. /* Have Solaris OS */
  161. /* #undef ZMQ_HAVE_SOLARIS */
  162. /* Whether SO_KEEPALIVE is supported. */
  163. #define ZMQ_HAVE_SO_KEEPALIVE 1
  164. /* Have SO_PEERCRED socket option */
  165. /* #undef ZMQ_HAVE_SO_PEERCRED */
  166. /* Whether TCP_KEEPALIVE is supported. */
  167. /* #undef ZMQ_HAVE_TCP_KEEPALIVE */
  168. /* Whether TCP_KEEPCNT is supported. */
  169. /* #undef ZMQ_HAVE_TCP_KEEPCNT */
  170. /* Whether TCP_KEEPIDLE is supported. */
  171. /* #undef ZMQ_HAVE_TCP_KEEPIDLE */
  172. /* Whether TCP_KEEPINTVL is supported. */
  173. /* #undef ZMQ_HAVE_TCP_KEEPINTVL */
  174. /* Have TIPC support */
  175. /* #undef ZMQ_HAVE_TIPC */
  176. /* Have uio.h header. */
  177. #define ZMQ_HAVE_UIO 1
  178. /* Have Windows OS */
  179. /* #undef ZMQ_HAVE_WINDOWS */
  180. /* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
  181. <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
  182. #define below would cause a syntax error. */
  183. /* #undef _UINT32_T */
  184. /* Define to empty if `const' does not conform to ANSI C. */
  185. /* #undef const */
  186. /* Define to `__inline__' or `__inline' if that's what the C compiler
  187. calls it, or to nothing if 'inline' is not supported under any name. */
  188. #ifndef __cplusplus
  189. /* #undef inline */
  190. #endif
  191. /* Define to `unsigned int' if <sys/types.h> does not define. */
  192. /* #undef size_t */
  193. /* Define to `int' if <sys/types.h> does not define. */
  194. /* #undef ssize_t */
  195. /* Define to the type of an unsigned integer type of width exactly 32 bits if
  196. such a type exists and the standard includes do not define it. */
  197. /* #undef uint32_t */
  198. /* Define to empty if the keyword `volatile' does not work. Warning: valid
  199. code using `volatile' can become incorrect without. Disable with care. */
  200. /* #undef volatile */
  201. /* ---- Special case for z/OS Unix Services: openedition ---- */
  202. #include <pthread.h>
  203. #ifndef NI_MAXHOST
  204. #define NI_MAXHOST 1025
  205. #endif