mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fix for mips compiler.
This commit is contained in:
parent
83063e7445
commit
5cf5248b00
1 changed files with 6 additions and 1 deletions
|
@ -24,7 +24,12 @@
|
|||
|
||||
PHPAPI char *_php_stream_mmap_range(php_stream *stream, size_t offset, size_t length, php_stream_mmap_operation_t mode, size_t *mapped_len TSRMLS_DC)
|
||||
{
|
||||
php_stream_mmap_range range = { offset, length, mode, NULL };
|
||||
php_stream_mmap_range range;
|
||||
|
||||
range.offset = offset;
|
||||
range.length = length;
|
||||
range.mode = mode;
|
||||
range.mapped = NULL;
|
||||
|
||||
/* TODO: Enforce system policy and limits for mmap sizes ? */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue