ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/IO-AIO/AIO.xs
(Generate patch)

Comparing IO-AIO/AIO.xs (file contents):
Revision 1.264 by root, Tue Aug 14 11:44:52 2018 UTC vs.
Revision 1.266 by root, Tue Aug 14 14:03:14 2018 UTC

18#include <sys/stat.h> 18#include <sys/stat.h>
19#include <limits.h> 19#include <limits.h>
20#include <fcntl.h> 20#include <fcntl.h>
21#include <sched.h> 21#include <sched.h>
22 22
23#if HAVE_SYS_MKDEV_H
24# include <sys/mkdev.h>
23#if HAVE_SYS_SYSMACROS_H 25#elif HAVE_SYS_SYSMACROS_H
24# include <sys/sysmacros.h> 26# include <sys/sysmacros.h>
25#endif 27#endif
26 28
27#if _POSIX_MEMLOCK || _POSIX_MEMLOCK_RANGE || _POSIX_MAPPED_FILES 29#if _POSIX_MEMLOCK || _POSIX_MEMLOCK_RANGE || _POSIX_MAPPED_FILES
28# include <sys/mman.h> 30# include <sys/mman.h>
192#endif 194#endif
193#ifndef minor 195#ifndef minor
194# define minor(dev) ((dev) & 0xff) 196# define minor(dev) ((dev) & 0xff)
195#endif 197#endif
196 198
199/* solaris has a non-posix/unix compliant PAGESIZE that breaks compilation */
200#ifdef __sun
201# undef PAGESIZE
202#endif
203
197#if PAGESIZE <= 0 204#if PAGESIZE <= 0
198# define PAGESIZE sysconf (_SC_PAGESIZE) 205# define PAGESIZE sysconf (_SC_PAGESIZE)
199#endif 206#endif
200 207
201/*****************************************************************************/ 208/*****************************************************************************/

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines