ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/emman.c
(Generate patch)

Comparing rxvt-unicode/src/emman.c (file contents):
Revision 1.5 by sf-exg, Tue Oct 28 09:10:33 2014 UTC vs.
Revision 1.7 by root, Thu Oct 30 21:59:18 2014 UTC

20 20
21#ifndef _WIN32 21#ifndef _WIN32
22# include <unistd.h> 22# include <unistd.h>
23#endif 23#endif
24 24
25#if _POSIX_MAPPED_FILES 25#if _POSIX_MAPPED_FILES > 0
26# define USE_MMAP 1 26# define USE_MMAP 1
27# include <sys/mman.h> 27# include <sys/mman.h>
28# ifndef MAP_FAILED 28# ifndef MAP_FAILED
29# define MAP_FAILED ((void *)-1) 29# define MAP_FAILED ((void *)-1)
30# endif 30# endif
43# else 43# else
44# define BOOT_PAGESIZE 44# define BOOT_PAGESIZE
45# endif 45# endif
46#else 46#else
47# define PAGESIZE 1 47# define PAGESIZE 1
48# define BOOT_PAGESIZE
48#endif 49#endif
49 50
50size_t 51size_t
51chunk_round (size_t size) 52chunk_round (size_t size)
52{ 53{

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines