test_config.h.in revision 9a690580
1#ifndef LSQUIC_CONFIG_H
2#define LSQUIC_CONFIG_H
3
4#cmakedefine HAVE_SENDMMSG 1
5#cmakedefine HAVE_RECVMMSG 1
6#cmakedefine HAVE_OPEN_MEMSTREAM 1
7#cmakedefine HAVE_IP_DONTFRAG 1
8#cmakedefine HAVE_IP_MTU_DISCOVER 1
9#cmakedefine HAVE_REGEX 1
10
11#define LSQUIC_DONTFRAG_SUPPORTED (HAVE_IP_DONTFRAG || HAVE_IP_MTU_DISCOVER)
12
13/* TODO: presumably it's the same on FreeBSD, test it.
14 * See https://github.com/quicwg/base-drafts/wiki/ECN-in-QUIC
15 */
16#if __linux__ || defined(__FreeBSD__)
17#define ECN_SUPPORTED 1
18#else
19#define ECN_SUPPORTED 0
20#endif
21
22#endif
23