1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-07-25 18:19:00 +02:00

[!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
2000-04-18 13:40:25 +00:00
parent 72b3b743fe
commit 833f309376
+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