test_config.h.in revision c3c69ba3
1e0197994SDmitri Tikhonov#ifndef LSQUIC_CONFIG_H
2e0197994SDmitri Tikhonov#define LSQUIC_CONFIG_H
3e0197994SDmitri Tikhonov
45392f7a3SLiteSpeed Tech#cmakedefine HAVE_SENDMMSG 1
55392f7a3SLiteSpeed Tech#cmakedefine HAVE_RECVMMSG 1
65392f7a3SLiteSpeed Tech#cmakedefine HAVE_OPEN_MEMSTREAM 1
7e0197994SDmitri Tikhonov#cmakedefine HAVE_IP_DONTFRAG 1
8e0197994SDmitri Tikhonov#cmakedefine HAVE_IP_MTU_DISCOVER 1
95dc94445SDmitri Tikhonov#cmakedefine HAVE_REGEX 1
10c3c69ba3SDmitri Tikhonov#cmakedefine HAVE_PREADV 1
11e0197994SDmitri Tikhonov
12e0197994SDmitri Tikhonov#define LSQUIC_DONTFRAG_SUPPORTED (HAVE_IP_DONTFRAG || HAVE_IP_MTU_DISCOVER)
13e0197994SDmitri Tikhonov
145392f7a3SLiteSpeed Tech/* TODO: presumably it's the same on FreeBSD, test it.
155392f7a3SLiteSpeed Tech * See https://github.com/quicwg/base-drafts/wiki/ECN-in-QUIC
165392f7a3SLiteSpeed Tech */
175392f7a3SLiteSpeed Tech#if __linux__ || defined(__FreeBSD__)
185392f7a3SLiteSpeed Tech#define ECN_SUPPORTED 1
195392f7a3SLiteSpeed Tech#else
205392f7a3SLiteSpeed Tech#define ECN_SUPPORTED 0
215392f7a3SLiteSpeed Tech#endif
225392f7a3SLiteSpeed Tech
23e0197994SDmitri Tikhonov#endif
24