diff options
Diffstat (limited to 'examples/dte/compat.c')
| -rw-r--r-- | examples/dte/compat.c | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/examples/dte/compat.c b/examples/dte/compat.c new file mode 100644 index 0000000..9a26950 --- /dev/null +++ b/examples/dte/compat.c @@ -0,0 +1,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 +; |
