diff options
| author | Nikita Popov <nikic@php.net> | 2016-07-30 18:22:07 +0200 |
|---|---|---|
| committer | Nikita Popov <nikic@php.net> | 2016-07-30 18:24:14 +0200 |
| commit | 9fe0398dad29c31d477e2225589eeec8977eb423 (patch) | |
| tree | 01b5e5481a7f6c776d2fba3d4c8ab517af9eb2fe /ext/posix | |
| parent | dd7bea17bf45fbdc444431cce7125f393dfa0f3f (diff) | |
| parent | 14d674442ef86ad4e862228a1ff5ecd322ae7759 (diff) | |
| download | php-git-9fe0398dad29c31d477e2225589eeec8977eb423.tar.gz | |
Merge branch 'PHP-5.6' into PHP-7.0
Diffstat (limited to 'ext/posix')
| -rw-r--r-- | ext/posix/config.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/posix/config.m4 b/ext/posix/config.m4 index 9dfa70d1db..0c4c30561e 100644 --- a/ext/posix/config.m4 +++ b/ext/posix/config.m4 @@ -21,7 +21,7 @@ int main(int argc, char *argv[]) { char buf[64]; - return ttyname_r(0, buf, 64) ? 1 : 0; + return !ttyname_r(0, buf, 64); } ],[ AC_MSG_RESULT([yes]) |
