-
Notifications
You must be signed in to change notification settings - Fork 0
/
expect_cf.h.in
127 lines (105 loc) · 2.05 KB
/
expect_cf.h.in
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
/*
* Check for headers
*/
#ifndef __EXPECT_CF_H__
#define __EXPECT_CF_H__
#undef NO_STDLIB_H
#undef NO_UNION_WAIT
#undef HAVE_STDARG_H
#undef HAVE_VARARGS_H
#undef HAVE_STROPTS_H
#undef HAVE_SYSCONF_H
#undef HAVE_SYS_FCNTL_H
#undef HAVE_SYS_WAIT_H
#undef HAVE_SYS_BSDTYPES_H
#undef HAVE_SYS_SELECT_H
#undef HAVE_SYS_TIME_H
#undef HAVE_SYS_PTEM_H
#undef HAVE_STRREDIR_H
/* old-style Dynix ptys need this */
#undef HAVE_STRPTY_H
#undef HAVE_UNISTD_H
#undef HAVE_SYSMACROS_H
#undef HAVE_INTTYPES_H
#undef HAVE_TIOCGWINSZ_IN_TERMIOS_H
#undef HAVE_TCGETS_OR_TCGETA_IN_TERMIOS_H
#undef pid_t
#undef RETSIGTYPE
/* ok to include both time.h and sys/time.h */
#undef TIME_WITH_SYS_TIME
/* if setpgrp takes 0 args */
#undef SETPGRP_VOID
/*
* This section is for compile macros needed by
* everything else.
*/
/*
* Check for functions
*/
#undef HAVE_MEMCPY
#undef HAVE_SYSCONF
#undef SIMPLE_EVENT
#undef HAVE_STRFTIME
#undef HAVE_MEMMOVE
/* timezone() a la Pyramid */
#undef HAVE_TIMEZONE
#undef HAVE_SIGLONGJMP
#undef HAVE_STRCHR
#ifndef HAVE_STRCHR
#define strchr(s,c) index(s,c)
#endif /* HAVE_STRCHR */
/*
* timezone
*/
#undef HAVE_SV_TIMEZONE
/*
* wait status type
*/
#undef NO_UNION_WAIT
#undef WNOHANG_REQUIRES_POSIX_SOURCE
/*
* Signal stuff. Setup the return type
* and if signals need to be re-armed.
*/
/*#ifndef RETSIGTYPE*/
/*#define RETSIGTYPE void*/
/*#endif*/
#undef REARM_SIG
/*
* Generate correct type for select mask
*/
#ifndef SELECT_MASK_TYPE
#define SELECT_MASK_TYPE fd_set
#endif
/*
* Check how stty works
*/
#undef STTY_READS_STDOUT
/*
* Check for tty/pty functions and structures
*/
#undef POSIX
#undef HAVE_TCSETATTR
#undef HAVE_TERMIO
#undef HAVE_TERMIOS
#undef HAVE_SGTTYB
#undef HAVE__GETPTY
#undef HAVE_GETPTY
#undef HAVE_OPENPTY
#undef HAVE_PTC
#undef HAVE_PTC_PTS
#undef HAVE_PTYM
#undef HAVE_PTYTRAP
#undef HAVE_PTMX
#undef HAVE_PTMX_BSD
#undef HAVE_SCO_CLIST_PTYS
/*
* Special hacks
*/
#undef CONVEX
#undef SOLARIS
#ifdef SOLARIS
#define __EXTENSIONS__
#endif /* SOLARIS */
#undef WNOHANG_BACKUP_VALUE
#endif /* __EXPECT_CF_H__ */