config.h 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. /* config.h. Generated from config.h.in by configure. */
  2. /* config.h.in. Generated from configure.ac by autoheader. */
  3. /* Define to 1 if you have the `accept4' function. */
  4. #define HAVE_ACCEPT4 1
  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 <byteswap.h> header file. */
  8. #define HAVE_BYTESWAP_H 1
  9. /* Define to 1 if you have the declaration of `TIOCM_RTS', and to 0 if you
  10. don't. */
  11. #define HAVE_DECL_TIOCM_RTS 1
  12. /* Define to 1 if you have the declaration of `TIOCSRS485', and to 0 if you
  13. don't. */
  14. #define HAVE_DECL_TIOCSRS485 1
  15. /* Define to 1 if you have the declaration of `__CYGWIN__', and to 0 if you
  16. don't. */
  17. #define HAVE_DECL___CYGWIN__ 0
  18. /* Define to 1 if you have the <dlfcn.h> header file. */
  19. #define HAVE_DLFCN_H 1
  20. /* Define to 1 if you have the <errno.h> header file. */
  21. #define HAVE_ERRNO_H 1
  22. /* Define to 1 if you have the <fcntl.h> header file. */
  23. #define HAVE_FCNTL_H 1
  24. /* Define to 1 if you have the `getaddrinfo' function. */
  25. #define HAVE_GETADDRINFO 1
  26. /* Define to 1 if you have the `gettimeofday' function. */
  27. #define HAVE_GETTIMEOFDAY 1
  28. /* Define to 1 if you have the `inet_ntoa' function. */
  29. #define HAVE_INET_NTOA 1
  30. /* Define to 1 if you have the <inttypes.h> header file. */
  31. #define HAVE_INTTYPES_H 1
  32. /* Define to 1 if you have the <limits.h> header file. */
  33. #define HAVE_LIMITS_H 1
  34. /* Define to 1 if you have the <linux/serial.h> header file. */
  35. #define HAVE_LINUX_SERIAL_H 1
  36. /* Define to 1 if you have the <memory.h> header file. */
  37. #define HAVE_MEMORY_H 1
  38. /* Define to 1 if you have the <netdb.h> header file. */
  39. #define HAVE_NETDB_H 1
  40. /* Define to 1 if you have the <netinet/in.h> header file. */
  41. #define HAVE_NETINET_IN_H 1
  42. /* Define to 1 if you have the <netinet/tcp.h> header file. */
  43. #define HAVE_NETINET_TCP_H 1
  44. /* Define to 1 if you have the `select' function. */
  45. #define HAVE_SELECT 1
  46. /* Define to 1 if you have the `socket' function. */
  47. #define HAVE_SOCKET 1
  48. /* Define to 1 if you have the <stdint.h> header file. */
  49. #define HAVE_STDINT_H 1
  50. /* Define to 1 if you have the <stdlib.h> header file. */
  51. #define HAVE_STDLIB_H 1
  52. /* Define to 1 if you have the `strerror' function. */
  53. #define HAVE_STRERROR 1
  54. /* Define to 1 if you have the <strings.h> header file. */
  55. #define HAVE_STRINGS_H 1
  56. /* Define to 1 if you have the <string.h> header file. */
  57. #define HAVE_STRING_H 1
  58. /* Define to 1 if you have the `strlcpy' function. */
  59. /* #undef HAVE_STRLCPY */
  60. /* Define to 1 if you have the <sys/ioctl.h> header file. */
  61. #define HAVE_SYS_IOCTL_H 1
  62. /* Define to 1 if you have the <sys/params.h> header file. */
  63. /* #undef HAVE_SYS_PARAMS_H */
  64. /* Define to 1 if you have the <sys/socket.h> header file. */
  65. #define HAVE_SYS_SOCKET_H 1
  66. /* Define to 1 if you have the <sys/stat.h> header file. */
  67. #define HAVE_SYS_STAT_H 1
  68. /* Define to 1 if you have the <sys/time.h> header file. */
  69. #define HAVE_SYS_TIME_H 1
  70. /* Define to 1 if you have the <sys/types.h> header file. */
  71. #define HAVE_SYS_TYPES_H 1
  72. /* Define to 1 if you have the <termios.h> header file. */
  73. #define HAVE_TERMIOS_H 1
  74. /* Define to 1 if you have the <time.h> header file. */
  75. #define HAVE_TIME_H 1
  76. /* Define to 1 if you have the <unistd.h> header file. */
  77. #define HAVE_UNISTD_H 1
  78. /* Define to 1 if you have the <winsock2.h> header file. */
  79. /* #undef HAVE_WINSOCK2_H */
  80. /* Define to the sub-directory where libtool stores uninstalled libraries. */
  81. #define LT_OBJDIR ".libs/"
  82. /* Name of package */
  83. #define PACKAGE "libmodbus"
  84. /* Define to the address where bug reports for this package should be sent. */
  85. #define PACKAGE_BUGREPORT "https://github.com/stephane/libmodbus/issues"
  86. /* Define to the full name of this package. */
  87. #define PACKAGE_NAME "libmodbus"
  88. /* Define to the full name and version of this package. */
  89. #define PACKAGE_STRING "libmodbus 3.1.6"
  90. /* Define to the one symbol short name of this package. */
  91. #define PACKAGE_TARNAME "libmodbus"
  92. /* Define to the home page for this package. */
  93. #define PACKAGE_URL "http://libmodbus.org/"
  94. /* Define to the version of this package. */
  95. #define PACKAGE_VERSION "3.1.6"
  96. /* Define to 1 if you have the ANSI C header files. */
  97. #define STDC_HEADERS 1
  98. /* Enable extensions on AIX 3, Interix. */
  99. #ifndef _ALL_SOURCE
  100. # define _ALL_SOURCE 1
  101. #endif
  102. /* Enable GNU extensions on systems that have them. */
  103. #ifndef _GNU_SOURCE
  104. # define _GNU_SOURCE 1
  105. #endif
  106. /* Enable threading extensions on Solaris. */
  107. #ifndef _POSIX_PTHREAD_SEMANTICS
  108. # define _POSIX_PTHREAD_SEMANTICS 1
  109. #endif
  110. /* Enable extensions on HP NonStop. */
  111. #ifndef _TANDEM_SOURCE
  112. # define _TANDEM_SOURCE 1
  113. #endif
  114. /* Enable general extensions on Solaris. */
  115. #ifndef __EXTENSIONS__
  116. # define __EXTENSIONS__ 1
  117. #endif
  118. /* Version number of package */
  119. #define VERSION "3.1.6"
  120. /* _ */
  121. #define WINVER 0x0501
  122. /* Enable large inode numbers on Mac OS X 10.5. */
  123. #ifndef _DARWIN_USE_64_BIT_INODE
  124. # define _DARWIN_USE_64_BIT_INODE 1
  125. #endif
  126. /* Number of bits in a file offset, on hosts where this is settable. */
  127. #define _FILE_OFFSET_BITS 64
  128. /* Define for large files, on AIX-style hosts. */
  129. /* #undef _LARGE_FILES */
  130. /* Define to 1 if on MINIX. */
  131. /* #undef _MINIX */
  132. /* Define to 2 if the system does not provide POSIX.1 features except with
  133. this defined. */
  134. /* #undef _POSIX_1_SOURCE */
  135. /* Define to 1 if you need to in order for `stat' and other things to work. */
  136. /* #undef _POSIX_SOURCE */
  137. /* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
  138. <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
  139. #define below would cause a syntax error. */
  140. /* #undef _UINT32_T */
  141. /* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
  142. <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
  143. #define below would cause a syntax error. */
  144. /* #undef _UINT8_T */
  145. /* Define to `__inline__' or `__inline' if that's what the C compiler
  146. calls it, or to nothing if 'inline' is not supported under any name. */
  147. #ifndef __cplusplus
  148. /* #undef inline */
  149. #endif
  150. /* Define to the type of a signed integer type of width exactly 64 bits if
  151. such a type exists and the standard includes do not define it. */
  152. /* #undef int64_t */
  153. /* Define to `unsigned int' if <sys/types.h> does not define. */
  154. /* #undef size_t */
  155. /* Define to `int' if <sys/types.h> does not define. */
  156. /* #undef ssize_t */
  157. /* Define to the type of an unsigned integer type of width exactly 16 bits if
  158. such a type exists and the standard includes do not define it. */
  159. /* #undef uint16_t */
  160. /* Define to the type of an unsigned integer type of width exactly 32 bits if
  161. such a type exists and the standard includes do not define it. */
  162. /* #undef uint32_t */
  163. /* Define to the type of an unsigned integer type of width exactly 8 bits if
  164. such a type exists and the standard includes do not define it. */
  165. /* #undef uint8_t */