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