mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +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
f8470369c2
commit
01bd4c56f5
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…
Reference in a new issue