*** empty log message ***
From-SVN: r1169
This commit is contained in:
parent
629af8db53
commit
dafda938de
@ -59,9 +59,15 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
|
|||||||
This is only done when compiling the trampoline code. */
|
This is only done when compiling the trampoline code. */
|
||||||
|
|
||||||
#ifdef L_trampoline
|
#ifdef L_trampoline
|
||||||
|
#include <types.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
|
#ifdef _SC_PAGE_SIZE
|
||||||
#define getpagesize() sysconf(_SC_PAGE_SIZE)
|
#define getpagesize() sysconf(_SC_PAGE_SIZE)
|
||||||
|
|
||||||
|
#else /* older rev of OS */
|
||||||
|
#define getpagesize() (NBPC)
|
||||||
|
#endif /* !_SC_PAGE_SIZE */
|
||||||
#endif /* L_trampoline */
|
#endif /* L_trampoline */
|
||||||
|
|
||||||
#include "mips.h"
|
#include "mips.h"
|
||||||
|
@ -55,9 +55,15 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
|
|||||||
This is only done when compiling the trampoline code. */
|
This is only done when compiling the trampoline code. */
|
||||||
|
|
||||||
#ifdef L_trampoline
|
#ifdef L_trampoline
|
||||||
|
#include <types.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
|
#ifdef _SC_PAGE_SIZE
|
||||||
#define getpagesize() sysconf(_SC_PAGE_SIZE)
|
#define getpagesize() sysconf(_SC_PAGE_SIZE)
|
||||||
|
|
||||||
|
#else /* older rev of OS */
|
||||||
|
#define getpagesize() (NBPC)
|
||||||
|
#endif /* !_SC_PAGE_SIZE */
|
||||||
#endif /* L_trampoline */
|
#endif /* L_trampoline */
|
||||||
|
|
||||||
/* Generate calls to memcpy, etc., not bcopy, etc. */
|
/* Generate calls to memcpy, etc., not bcopy, etc. */
|
||||||
|
Loading…
Reference in New Issue
Block a user