… | … | ||
---|---|---|---|
227 | 227 | ||
228 | #if PAGESIZE <= 0 | 228 | #if PAGESIZE <= 0 |
229 | # define PAGESIZE sysconf (_SC_PAGESIZE) | 229 | # define PAGESIZE sysconf (_SC_PAGESIZE) |
230 | #endif | 230 | #endif |
231 | 231 | ||
232 | /* solaris perl seems to declare a wrong syscall function that clashes with system includes */ | ||
233 | #ifdef __sun | ||
234 | # undef HAVE_SYSCALL | ||
235 | #endif | ||
236 | |||
232 | #if HAVE_SYSCALL | 237 | #if HAVE_SYSCALL |
233 | #include <sys/syscall.h> | 238 | #include <sys/syscall.h> |
234 | #else | 239 | #else |
235 | # define syscall(nr,...) (errno = ENOSYS, -1) | 240 | # define syscall(nr,...) (errno = ENOSYS, -1) |
236 | #endif | 241 | #endif |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |