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