diff options
author | Matteo Beccati <mbeccati@php.net> | 2013-07-08 19:25:03 +0200 |
---|---|---|
committer | Matteo Beccati <mbeccati@php.net> | 2013-07-19 09:37:39 +0200 |
commit | 2b9d42433f8e634593c2306d5d0ef61cc44281bf (patch) | |
tree | 8ed9ae4c1912dd2f000d6d29350331646e52241b | |
parent | 445dffa75a1ffdbcf03670781c48fa4f88ce2ce9 (diff) | |
download | php-git-2b9d42433f8e634593c2306d5d0ef61cc44281bf.tar.gz |
Properly fixed bug #63186 on NetBSD == 6.0
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | main/streams/cast.c | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -2,6 +2,9 @@ PHP NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ?? ??? 2013, PHP 5.4.19 +- Core. + . Improve fix for bug #63186 (compile failure on netbsd). (Matteo) + - Session: . Fixed bug #62129 (rfc1867 crashes php even though turned off). (gxd305 at gmail dot com) diff --git a/main/streams/cast.c b/main/streams/cast.c index da6a293e45..bf96d3cf80 100644 --- a/main/streams/cast.c +++ b/main/streams/cast.c @@ -33,7 +33,7 @@ #if defined(HAVE_FUNOPEN) && !defined(HAVE_FOPENCOOKIE) /* NetBSD 6.0+ uses off_t instead of fpos_t in funopen */ -# if defined(__NetBSD__) && (__NetBSD_Version__ > 600000000) +# if defined(__NetBSD__) && (__NetBSD_Version__ >= 600000000) # define PHP_FPOS_T off_t # else # define PHP_FPOS_T fpos_t |