diff options
author | Peter Kokot <peterkokot@gmail.com> | 2018-08-24 00:33:02 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2018-08-24 18:33:23 +0200 |
commit | 3ceecaa9a014c0990c49bd2db1dc16db01254e4b (patch) | |
tree | 3026fc21729cd80310b499fa9900f13006d63c64 /main | |
parent | 6136a20544a3f8a116bb38e404dadd500006b134 (diff) | |
download | php-git-3ceecaa9a014c0990c49bd2db1dc16db01254e4b.tar.gz |
Replace HAVE_ST_BLOCKS with HAVE_STRUCT_STAT_ST_BLOCKS
Since Autoconf 2.50+ macro AC_STRUCT_ST_BLOCKS defines the new
HAVE_STRUCT_STAT_ST_BLOCKS symbol and has deprecated the previous
HAVE_ST_BLOCKS.
PHP 5.3 required Autoconf 2.13 (released in 1999) or newer, since PHP
5.4 the autoconf 2.59 (released in 2003) or newer was required, and
since PHP 7.2, autoconf 2.64 (released in 2008) or newer is required.
Diffstat (limited to 'main')
-rw-r--r-- | main/streams/userspace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/streams/userspace.c b/main/streams/userspace.c index e69db525da..5c144f28b3 100644 --- a/main/streams/userspace.c +++ b/main/streams/userspace.c @@ -865,7 +865,7 @@ static int statbuf_from_array(zval *array, php_stream_statbuf *ssb) #ifdef HAVE_STRUCT_STAT_ST_BLKSIZE STAT_PROP_ENTRY(blksize); #endif -#ifdef HAVE_ST_BLOCKS +#ifdef HAVE_STRUCT_STAT_ST_BLOCKS STAT_PROP_ENTRY(blocks); #endif |