diff options
| author | Alex Dowad <alexinbeijing@gmail.com> | 2020-05-26 15:37:09 +0200 |
|---|---|---|
| committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-05-27 09:05:31 +0200 |
| commit | 0bff4e56e29d4f6bfb00b523079a7ceef3bb1df4 (patch) | |
| tree | 7eaffb1e375f9ae065a2584ae6c5a2e925899835 | |
| parent | dff7994ff4d006ee2b413f3cc28f68ecf8526168 (diff) | |
| download | php-git-0bff4e56e29d4f6bfb00b523079a7ceef3bb1df4.tar.gz | |
Tweak style and grammar in proc_open.c
| -rw-r--r-- | ext/standard/proc_open.c | 15 |
1 files 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 <pty.h> -# else -# if defined(__FreeBSD__) +# elif defined(__FreeBSD__) /* FreeBSD defines `openpty` in <libutil.h> */ -# include <libutil.h> -# else -/* Mac OS X and some BSD defines `openpty` in <util.h> */ -# include <util.h> -# endif +# include <libutil.h> +# else +/* Mac OS X (and some BSDs) define `openpty` in <util.h> */ +# include <util.h> # endif #endif |
