lws_config_private.h 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. /* lws_config_private.h.in. Private compilation options. */
  2. #ifndef DEBUG_ENABLED
  3. #define NDEBUG
  4. #endif
  5. #ifndef NDEBUG
  6. #ifndef _DEBUG
  7. #define _DEBUG
  8. #endif
  9. #endif
  10. /* Define to 1 to use CyaSSL as a replacement for OpenSSL.
  11. * LWS_OPENSSL_SUPPORT needs to be set also for this to work. */
  12. /* #undef USE_CYASSL */
  13. /* Define to 1 if you have the `bzero' function. */
  14. #define LWS_HAVE_BZERO
  15. /* Windows has no bzero function */
  16. #ifdef WINDOWS_ENABLED
  17. #undef LWS_HAVE_BZERO
  18. #endif
  19. /* Define to 1 if you have the <dlfcn.h> header file. */
  20. #define LWS_HAVE_DLFCN_H
  21. /* Define to 1 if you have the <fcntl.h> header file. */
  22. #define LWS_HAVE_FCNTL_H
  23. #ifdef NO_FCNTL
  24. #undef LWS_HAVE_FCNTL_H
  25. #endif
  26. /* Define to 1 if you have the `fork' function. */
  27. #define LWS_HAVE_FORK
  28. /* Define to 1 if you have the `getenv’ function. */
  29. #define LWS_HAVE_GETENV
  30. /* Define to 1 if you have the <in6addr.h> header file. */
  31. /* #undef LWS_HAVE_IN6ADDR_H */
  32. /* Define to 1 if you have the <inttypes.h> header file. */
  33. #define LWS_HAVE_INTTYPES_H
  34. /* Define to 1 if you have the `ssl' library (-lssl). */
  35. /* #undef LWS_HAVE_LIBSSL */
  36. /* Define to 1 if your system has a GNU libc compatible `malloc' function, and
  37. to 0 otherwise. */
  38. #define LWS_HAVE_MALLOC
  39. /* Define to 1 if you have the <memory.h> header file. */
  40. #define LWS_HAVE_MEMORY_H
  41. /* Define to 1 if you have the `memset' function. */
  42. #define LWS_HAVE_MEMSET
  43. /* Define to 1 if you have the <netinet/in.h> header file. */
  44. #define LWS_HAVE_NETINET_IN_H
  45. /* Define to 1 if your system has a GNU libc compatible `realloc' function,
  46. and to 0 otherwise. */
  47. #define LWS_HAVE_REALLOC
  48. /* Define to 1 if you have the `socket' function. */
  49. #define LWS_HAVE_SOCKET
  50. /* Define to 1 if you have the <stdint.h> header file. */
  51. #define LWS_HAVE_STDINT_H
  52. /* Define to 1 if you have the <stdlib.h> header file. */
  53. #define LWS_HAVE_STDLIB_H
  54. /* Define to 1 if you have the `strerror' function. */
  55. #define LWS_HAVE_STRERROR
  56. /* Define to 1 if you have the <strings.h> header file. */
  57. #define LWS_HAVE_STRINGS_H
  58. /* Define to 1 if you have the <string.h> header file. */
  59. #define LWS_HAVE_STRING_H
  60. /* Define to 1 if you have the <sys/prctl.h> header file. */
  61. #define LWS_HAVE_SYS_PRCTL_H
  62. #if defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__HAIKU__)
  63. #undef LWS_HAVE_SYS_PRCTL_H
  64. #endif
  65. /* Define to 1 if you have the <sys/socket.h> header file. */
  66. #define LWS_HAVE_SYS_SOCKET_H
  67. /* Define to 1 if you have the <sys/sockio.h> header file. */
  68. /* #undef LWS_HAVE_SYS_SOCKIO_H */
  69. /* Define to 1 if you have the <sys/stat.h> header file. */
  70. #define LWS_HAVE_SYS_STAT_H
  71. /* Define to 1 if you have the <sys/types.h> header file. */
  72. #define LWS_HAVE_SYS_TYPES_H
  73. /* Define to 1 if you have the <unistd.h> header file. */
  74. #define LWS_HAVE_UNISTD_H
  75. #define LWS_HAVE_TCP_USER_TIMEOUT
  76. /* Define to 1 if you have the `vfork' function. */
  77. #define LWS_HAVE_VFORK
  78. /* Define to 1 if you have the <vfork.h> header file. */
  79. /* #undef LWS_HAVE_VFORK_H */
  80. /* Define to 1 if `fork' works. */
  81. #define LWS_HAVE_WORKING_FORK
  82. /* Define to 1 if `vfork' works. */
  83. #define LWS_HAVE_WORKING_VFORK
  84. /* Define to 1 if execvpe() exists */
  85. #define LWS_HAVE_EXECVPE
  86. /* Define to 1 if you have the <zlib.h> header file. */
  87. #define LWS_HAVE_ZLIB_H
  88. #define LWS_HAVE_GETLOADAVG
  89. /* Define to the sub-directory in which libtool stores uninstalled libraries.
  90. */
  91. #undef LT_OBJDIR // We're not using libtool
  92. /* Define to rpl_malloc if the replacement function should be used. */
  93. /* #undef malloc */
  94. /* Define to rpl_realloc if the replacement function should be used. */
  95. /* #undef realloc */
  96. /* Define to 1 if we have getifaddrs */
  97. #define LWS_HAVE_GETIFADDRS
  98. #if defined(ANDROID_ENABLED)
  99. #undef LWS_HAVE_GETIFADDRS
  100. #define LWS_BUILTIN_GETIFADDRS
  101. #endif
  102. /* Define if the inline keyword doesn't exist. */
  103. /* #undef inline */