mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Add support for BeOS
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15365 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
fc9a011f6a
commit
a5ac75b53f
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2002-12-28 Kelvin <kelvin@xbar.org>
|
||||
|
||||
* Source/NSPage.m: Add BeOS support.
|
||||
|
||||
2002-12-24 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/Additions/Unicode.m: Tidied and optimised binary searches.
|
||||
|
|
|
@ -68,6 +68,11 @@ getpagesize(void)
|
|||
#define getpagesize vm_page_size
|
||||
#endif
|
||||
|
||||
#if __BEOS__
|
||||
#include <kernel/OS.h>
|
||||
#define getpagesize() B_PAGE_SIZE
|
||||
#endif
|
||||
|
||||
/* Cache the size of a memory page here, so we don't have to make the
|
||||
getpagesize() system call repeatedly. */
|
||||
static unsigned ns_page_size = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue