… | |
… | |
194 | #endif |
194 | #endif |
195 | #ifndef minor |
195 | #ifndef minor |
196 | # define minor(dev) ((dev) & 0xff) |
196 | # define minor(dev) ((dev) & 0xff) |
197 | #endif |
197 | #endif |
198 | |
198 | |
|
|
199 | /* solaris has a non-posix/unix compliant PAGESIZE that breaks compilation */ |
|
|
200 | #ifdef __sun |
|
|
201 | # undef PAGESIZE |
|
|
202 | #endif |
|
|
203 | |
199 | #if PAGESIZE <= 0 |
204 | #if PAGESIZE <= 0 |
200 | # define PAGESIZE sysconf (_SC_PAGESIZE) |
205 | # define PAGESIZE sysconf (_SC_PAGESIZE) |
201 | #endif |
206 | #endif |
202 | |
207 | |
203 | /*****************************************************************************/ |
208 | /*****************************************************************************/ |