Example #1
0
void
file_unmap(struct file *f)
{
#ifdef _WIN32
    mmap_unmap_win32( f->begin, f->map_handle , f->map_file );
#else
    munmap(f->begin, f->size);
#endif
}
Example #2
0
File: file.c Project: albertz/navit
void
file_unmap(struct file *f)
{
#if defined(_WIN32) || defined(__CEGCC__)
    mmap_unmap_win32( f->begin, f->map_handle , f->map_file );
#else
	munmap(f->begin, f->size);
#endif
}