summaryrefslogtreecommitdiff
path: root/examples/dte/compat.c
blob: 9a26950e2ab91b83a82efd413e77ffcf7e0f3f0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#include "compat.h"

const char feature_string[] =
    ""
#if HAVE_DUP3
    " dup3"
#endif
#if HAVE_PIPE2
    " pipe2"
#endif
#if HAVE_FSYNC
    " fsync"
#endif
#if HAVE_MEMMEM
    " memmem"
#endif
#if HAVE_SIG2STR
    " sig2str"
#endif
#if HAVE_SIGABBREV_NP && !HAVE_SIG2STR
    " sigabbrev_np"
#endif
#if HAVE_TIOCGWINSZ
    " TIOCGWINSZ"
#endif
#if HAVE_TCGETWINSIZE && !HAVE_TIOCGWINSZ
    " tcgetwinsize"
#endif
#if HAVE_TIOCNOTTY
    " TIOCNOTTY"
#endif
#if HAVE_POSIX_MADVISE
    " posix_madvise"
#endif
;