mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
[!getpagesize && HAVE_OS_H && B_PAGE_SIZE]: Define getpagesize.
For BeOS. Based on a patch from Bruno Haible.
This commit is contained in:
1 parent
72b3b743fe
commit
833f309376
1 file changed
+7
@@ -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
|
||||
|
||||
Reference in new issue
Block a user