--- embedaddon/php/main/streams/cast.c 2013/07/22 01:32:11 1.1.1.3 +++ embedaddon/php/main/streams/cast.c 2013/10/14 08:02:43 1.1.1.4 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: cast.c,v 1.1.1.3 2013/07/22 01:32:11 misho Exp $ */ +/* $Id: cast.c,v 1.1.1.4 2013/10/14 08:02:43 misho Exp $ */ #define _GNU_SOURCE #include "php.h" @@ -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