mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-14 23:46:14 +00:00
Switch from Addr68k_from_LADDR to NativeAligned4FromLAddr in arith.h
This commit is contained in:
parent
ed5e504b06
commit
eae42d1a6d
@ -9,7 +9,7 @@
|
||||
/* */
|
||||
/************************************************************************/
|
||||
|
||||
#include "adr68k.h" // for Addr68k_from_LADDR, LADDR_from_68k
|
||||
#include "adr68k.h" // for NativeAligned4FromLAddr
|
||||
#include "commondefs.h" // for error
|
||||
#include "lispemul.h" // for SEGMASK, ERROR_EXIT
|
||||
#include "lispmap.h" // for S_NEGATIVE, S_POSITIVE
|
||||
@ -55,9 +55,9 @@ static inline LispPTR GetPosSmallp(unsigned long x) {
|
||||
return (S_POSITIVE | 0);
|
||||
}
|
||||
|
||||
#define FIXP_VALUE(dest) *((int *)Addr68k_from_LADDR(dest))
|
||||
#define FIXP_VALUE(dest) *((int *)NativeAligned4FromLAddr(dest))
|
||||
|
||||
#define FLOATP_VALUE(dest) *((float *)Addr68k_from_LADDR(dest))
|
||||
#define FLOATP_VALUE(dest) *((float *)NativeAligned4FromLAddr(dest))
|
||||
|
||||
#define N_GETNUMBER(sour, dest, label) \
|
||||
do { \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user