]>
git.ipfire.org Git - thirdparty/squid.git/blob - compat/os/hpux.h
5 #ifndef SQUID_OS_HPUX_H
6 #define SQUID_OS_PHUX_H
10 /****************************************************************************
11 *--------------------------------------------------------------------------*
12 * DO *NOT* MAKE ANY CHANGES below here unless you know what you're doing...*
13 *--------------------------------------------------------------------------*
14 ****************************************************************************/
17 #if !defined(HAVE_GETPAGESIZE)
18 #define HAVE_GETPAGESIZE
19 #define getpagesize( ) sysconf(_SC_PAGE_SIZE)
23 * getrusage(...) not available on some HPUX
26 #define HAVE_GETRUSAGE 1
27 #define getrusage(a, b) syscall(SYS_GETRUSAGE, a, b)
31 #endif /* _SQUID_HPUX_ */
32 #endif /* SQUID_OS_HPUX_H */