| 1 |
< |
/* Copyright (c) 1991 Regents of the University of California */ |
| 1 |
> |
/* Copyright (c) 1993 Regents of the University of California */ |
| 2 |
|
|
| 3 |
|
#ifndef lint |
| 4 |
|
static char SCCSid[] = "$SunId$ LBL"; |
| 32 |
|
I don't know about 1.1 (i.e. Snakes) */ |
| 33 |
|
} |
| 34 |
|
|
| 35 |
< |
#else /* Unknown version of UNIX */ |
| 35 |
> |
#else |
| 36 |
> |
#if defined(sparc) |
| 37 |
|
|
| 38 |
+ |
#include <unistd.h> |
| 39 |
+ |
int getpagesize() |
| 40 |
+ |
{ |
| 41 |
+ |
return (int)sysconf(_SC_PAGESIZE); |
| 42 |
+ |
} |
| 43 |
+ |
#else /* Unknown version of UNIX */ |
| 44 |
|
#ifndef PAGESIZE |
| 45 |
|
#define PAGESIZE 8192 /* Guess on the high side */ |
| 46 |
|
#endif |
| 50 |
|
return(PAGESIZE); |
| 51 |
|
} |
| 52 |
|
|
| 53 |
+ |
#endif |
| 54 |
|
#endif |
| 55 |
|
#endif |
| 56 |
|
|