Mercurial > vim
comparison src/memfile.c @ 2666:1a0d346695fa v7.3.085
updated for version 7.3.085
Problem: Inconsistency with preproc symbols. void * computation.
Solution: Include vimio.h from vim.h. Add type cast.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Fri, 17 Dec 2010 18:06:06 +0100 |
parents | 033e7b49356c |
children | e0a90042318d |
comparison
equal
deleted
inserted
replaced
2665:18061514324f | 2666:1a0d346695fa |
---|---|
29 * | 29 * |
30 * Under normal operation the file is created when opening the memory file and | 30 * Under normal operation the file is created when opening the memory file and |
31 * deleted when closing the memory file. Only with recovery an existing memory | 31 * deleted when closing the memory file. Only with recovery an existing memory |
32 * file is opened. | 32 * file is opened. |
33 */ | 33 */ |
34 | |
35 #if defined(MSDOS) || defined(WIN16) || defined(WIN32) || defined(_WIN64) | |
36 # include "vimio.h" /* for lseek(), must be before vim.h */ | |
37 #endif | |
38 | 34 |
39 #include "vim.h" | 35 #include "vim.h" |
40 | 36 |
41 /* | 37 /* |
42 * Some systems have the page size in statfs.f_bsize, some in stat.st_blksize | 38 * Some systems have the page size in statfs.f_bsize, some in stat.st_blksize |