Menu

#1 AROS m68k does not support asm args via REG() and LREG()

open
nobody
None
5
2011-02-16
2011-02-16
No

Please apply the following patch to SDI_Compiler.h:

@@ -135,7 +138,7 @@
#define INLINE static __inline __attribute__((always_inline))
#endif
/* we have to distinguish between AmigaOS4 and MorphOS */
- #if defined(_M68000) || defined(__M68000) || defined(__mc68000)
+ #if (defined(_M68000) || defined(__M68000) || defined(__mc68000)) && !defined
#define REG(reg,arg) arg __asm(#reg)
#define LREG(reg,arg) register REG(reg,arg)
#else

Discussion


Log in to post a comment.