Fix build on FreeBSD/powerpc64.

Signed-off-by: Piotr Kubaj <pkubaj@anongoth.pl>
This commit is contained in:
Piotr Kubaj
2019-06-25 10:58:56 +02:00
parent 7faf42b7bb
commit eebfeba768
87 changed files with 193 additions and 193 deletions

View File

@@ -47,7 +47,7 @@
#endif
#endif
#ifdef linux
#if defined(linux) || defined(__FreeBSD__)
#ifndef __64BIT__
#define M r3
#define N r4
@@ -224,7 +224,7 @@
stw r27, 196(SP)
#endif
#ifdef linux
#if defined(linux) || defined(__FreeBSD__)
#ifndef __64BIT__
lwz LDA, FRAMESLOT(0) + STACKSIZE(SP)
lwz BUFFER, FRAMESLOT(1) + STACKSIZE(SP)