From 0bff4e56e29d4f6bfb00b523079a7ceef3bb1df4 Mon Sep 17 00:00:00 2001 From: Alex Dowad Date: Tue, 26 May 2020 15:37:09 +0200 Subject: [PATCH] Tweak style and grammar in proc_open.c --- ext/standard/proc_open.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/ext/standard/proc_open.c b/ext/standard/proc_open.c index e4a38851e0..1df6246d38 100644 --- a/ext/standard/proc_open.c +++ b/ext/standard/proc_open.c @@ -39,21 +39,18 @@ /* This symbol is defined in ext/standard/config.m4. * Essentially, it is set if you HAVE_FORK || PHP_WIN32 * Other platforms may modify that configure check and add suitable #ifdefs - * around the alternate code. - * */ + * around the alternate code. */ #ifdef PHP_CAN_SUPPORT_PROC_OPEN #if HAVE_OPENPTY # if HAVE_PTY_H # include -# else -# if defined(__FreeBSD__) +# elif defined(__FreeBSD__) /* FreeBSD defines `openpty` in */ -# include -# else -/* Mac OS X and some BSD defines `openpty` in */ -# include -# endif +# include +# else +/* Mac OS X (and some BSDs) define `openpty` in */ +# include # endif #endif -- 2.50.1