1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 01:02:25 +01:00

Fix for mips compiler.

This commit is contained in:
Wez Furlong
2003-07-14 19:38:13 +00:00
parent 83063e7445
commit 5cf5248b00

View File

@@ -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 ? */