1 |
/* Emulate getpagesize on systems that lack it. |
/* Emulate getpagesize on systems that lack it. |
2 |
Copyright (C) 1999, 2000, 2004 Free Software Foundation, Inc. |
Copyright (C) 1999, 2000, 2004, 2005 Free Software Foundation, Inc. |
3 |
|
|
4 |
This program is free software; you can redistribute it and/or modify |
This program is free software; you can redistribute it and/or modify |
5 |
it under the terms of the GNU General Public License as published by |
it under the terms of the GNU General Public License as published by |
18 |
|
|
19 |
#ifndef HAVE_GETPAGESIZE |
#ifndef HAVE_GETPAGESIZE |
20 |
|
|
21 |
#ifdef HAVE_UNISTD_H |
#include <unistd.h> |
|
# include <unistd.h> |
|
|
#endif |
|
22 |
|
|
23 |
#if !defined getpagesize && defined _SC_PAGESIZE |
#if !defined getpagesize && defined _SC_PAGESIZE |
24 |
# if !(defined VMS && __VMS_VER < 70000000) |
# if !(defined VMS && __VMS_VER < 70000000) |