From: Alex Dowad Date: Tue, 26 May 2020 13:37:09 +0000 (+0200) Subject: Tweak style and grammar in proc_open.c X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0bff4e56e29d4f6bfb00b523079a7ceef3bb1df4;p=php Tweak style and grammar in proc_open.c --- 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