File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change 39
39
/* This symbol is defined in ext/standard/config.m4.
40
40
* Essentially, it is set if you HAVE_FORK || PHP_WIN32
41
41
* Other platforms may modify that configure check and add suitable #ifdefs
42
- * around the alternate code.
43
- * */
42
+ * around the alternate code. */
44
43
#ifdef PHP_CAN_SUPPORT_PROC_OPEN
45
44
46
45
#if HAVE_OPENPTY
47
46
# if HAVE_PTY_H
48
47
# include <pty.h>
49
- # else
50
- # if defined(__FreeBSD__ )
48
+ # elif defined(__FreeBSD__ )
51
49
/* FreeBSD defines `openpty` in <libutil.h> */
52
- # include <libutil.h>
53
- # else
54
- /* Mac OS X and some BSD defines `openpty` in <util.h> */
55
- # include <util.h>
56
- # endif
50
+ # include <libutil.h>
51
+ # else
52
+ /* Mac OS X (and some BSDs) define `openpty` in <util.h> */
53
+ # include <util.h>
57
54
# endif
58
55
#endif
59
56
You can’t perform that action at this time.
0 commit comments