[!getpagesize && HAVE_OS_H && B_PAGE_SIZE]: Define getpagesize.

For BeOS.  Based on a patch from Bruno Haible.
This commit is contained in:
Jim Meyering committed 2000-04-18 13:40:25 +00:00
1 parent 72b3b743fe
commit 833f309376
1 file changed
+7
+7
View File
@@ -20,6 +20,13 @@
# endif
#endif
#if !defined getpagesize && HAVE_OS_H
# include <OS.h>
# if defined B_PAGE_SIZE
# define getpagesize() B_PAGE_SIZE
# endif
#endif
#ifndef getpagesize
# include <sys/param.h>
# ifdef EXEC_PAGESIZE