Browse Source

Properly fixed bug #63186 on NetBSD == 6.0

pull/389/merge
Matteo Beccati 13 years ago
parent
commit
2b9d42433f
  1. 3
      NEWS
  2. 2
      main/streams/cast.c

3
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)

2
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

Loading…
Cancel
Save