mirror of
https://libwebsockets.org/repo/libwebsockets
synced 2024-12-04 05:47:15 +00:00
dab8e1c4f8
Long story, there's also minimal example to take care of. This change should take care of anything with ETHER_ADDR_LEN in net/ethernet.h plus windows, for both the lib and example.
113 lines
3.1 KiB
C
113 lines
3.1 KiB
C
/* lws_config_private.h.in. Private compilation options. */
|
|
|
|
#ifndef NDEBUG
|
|
#ifndef _DEBUG
|
|
#define _DEBUG
|
|
#endif
|
|
#endif
|
|
#cmakedefine LWIP_PROVIDE_ERRNO
|
|
|
|
/* Define to 1 to use CyaSSL as a replacement for OpenSSL.
|
|
* LWS_OPENSSL_SUPPORT needs to be set also for this to work. */
|
|
#cmakedefine USE_CYASSL
|
|
|
|
/* Define to 1 if you have the `fork' function. */
|
|
#cmakedefine LWS_HAVE_FORK
|
|
|
|
/* Define to 1 if you have the `getenv' function. */
|
|
#cmakedefine LWS_HAVE_GETENV
|
|
|
|
/* Define to 1 if you have the <in6addr.h> header file. */
|
|
#cmakedefine LWS_HAVE_IN6ADDR_H
|
|
|
|
/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
|
|
to 0 otherwise. */
|
|
#cmakedefine LWS_HAVE_MALLOC
|
|
|
|
/* Define to 1 if you have the <memory.h> header file. */
|
|
#cmakedefine LWS_HAVE_MEMORY_H
|
|
|
|
/* Define to 1 if you have the <netinet/in.h> header file. */
|
|
#cmakedefine LWS_HAVE_NETINET_IN_H
|
|
|
|
/* Define to 1 if you have the <stdint.h> header file. */
|
|
#cmakedefine LWS_HAVE_STDINT_H
|
|
|
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
|
#cmakedefine LWS_HAVE_STDLIB_H
|
|
|
|
/* Define to 1 if you have the `strerror' function. */
|
|
#cmakedefine LWS_HAVE_STRERROR
|
|
|
|
/* Define to 1 if you have the <strings.h> header file. */
|
|
#cmakedefine LWS_HAVE_STRINGS_H
|
|
|
|
/* Define to 1 if you have the <string.h> header file. */
|
|
#cmakedefine LWS_HAVE_STRING_H
|
|
|
|
/* Define to 1 if you have the <sys/prctl.h> header file. */
|
|
#cmakedefine LWS_HAVE_SYS_PRCTL_H
|
|
|
|
/* Define to 1 if you have the <sys/resource.h> header file. */
|
|
#cmakedefine LWS_HAVE_SYS_RESOURCE_H
|
|
|
|
/* Define to 1 if you have the <sys/socket.h> header file. */
|
|
#cmakedefine LWS_HAVE_SYS_SOCKET_H
|
|
|
|
/* Define to 1 if you have the <sys/sockio.h> header file. */
|
|
#cmakedefine LWS_HAVE_SYS_SOCKIO_H
|
|
|
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
|
#cmakedefine LWS_HAVE_SYS_STAT_H
|
|
|
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
|
#cmakedefine LWS_HAVE_SYS_TYPES_H
|
|
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
|
#cmakedefine LWS_HAVE_UNISTD_H
|
|
|
|
#cmakedefine LWS_HAVE_TCP_USER_TIMEOUT
|
|
|
|
/* Define to 1 if you have the `vfork' function. */
|
|
#cmakedefine LWS_HAVE_VFORK
|
|
|
|
/* Define to 1 if you have the <vfork.h> header file. */
|
|
#cmakedefine LWS_HAVE_VFORK_H
|
|
|
|
/* Define to 1 if `fork' works. */
|
|
#cmakedefine LWS_HAVE_WORKING_FORK
|
|
|
|
/* Define to 1 if `vfork' works. */
|
|
#cmakedefine LWS_HAVE_WORKING_VFORK
|
|
|
|
/* Define to 1 if execvpe() exists */
|
|
#cmakedefine LWS_HAVE_EXECVPE
|
|
|
|
/* Define to 1 if you have the <zlib.h> header file. */
|
|
#cmakedefine LWS_HAVE_ZLIB_H
|
|
|
|
#cmakedefine LWS_HAVE_GETLOADAVG
|
|
|
|
/* Define to the sub-directory in which libtool stores uninstalled libraries.
|
|
*/
|
|
#undef LT_OBJDIR // We're not using libtool
|
|
|
|
///* Define to rpl_malloc if the replacement function should be used. */
|
|
//#cmakedefine malloc
|
|
|
|
/* Define to rpl_realloc if the replacement function should be used. */
|
|
//#cmakedefine realloc
|
|
|
|
/* Define to 1 if we have getifaddrs */
|
|
#cmakedefine LWS_HAVE_GETIFADDRS
|
|
|
|
/* Define if the inline keyword doesn't exist. */
|
|
#cmakedefine inline ${inline}
|
|
|
|
#cmakedefine LWS_WITH_ZLIB
|
|
#cmakedefine LWS_HAS_PTHREAD_SETNAME_NP
|
|
|
|
/* Defined if you have the <inttypes.h> header file. */
|
|
#cmakedefine LWS_HAVE_INTTYPES_H
|
|
|