From 2b9d42433f8e634593c2306d5d0ef61cc44281bf Mon Sep 17 00:00:00 2001 From: Matteo Beccati Date: Mon, 8 Jul 2013 19:25:03 +0200 Subject: [PATCH] Properly fixed bug #63186 on NetBSD == 6.0 --- NEWS | 3 +++ main/streams/cast.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 765d1838f7b..4826d0ca98a 100644 --- a/NEWS +++ b/NEWS @@ -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 da6a293e452..bf96d3cf806 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