Commit c4e0f186 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

provide default block_mmap_Alloc

parent 3f68eb00
...@@ -237,8 +237,14 @@ block_t *block_mmap_Alloc (void *addr, size_t length) ...@@ -237,8 +237,14 @@ block_t *block_mmap_Alloc (void *addr, size_t length)
block->length = length; block->length = length;
return &block->self; return &block->self;
} }
#else
block_t *block_mmap_Alloc (void *addr, size_t length)
{
(void)addr; (void)length; return NULL;
}
#endif #endif
#ifdef WIN32 #ifdef WIN32
static static
ssize_t pread (int fd, void *buf, size_t count, off_t offset) ssize_t pread (int fd, void *buf, size_t count, off_t offset)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment