1 #ifndef _AMIGA_MACROS_H
2 #define _AMIGA_MACROS_H
5 * amiga_macros.h - small macros for compiler specific stuff
6 * This file is public domain.
9 #include <exec/types.h>
12 * macros for function definitions and declarations
16 #define REG(xn, parm) parm __asm(#xn)
17 #define REGARGS __regargs
18 #define STDARGS __stdargs
19 #define SAVEDS __saveds
20 #define ALIGNED __attribute__ ((aligned(4))
23 #define INLINE __inline__
24 #else /* of __GNUC__ */
27 #define REG(xn, parm) register __ ## xn parm
29 #define SAVEDS __saveds
30 #define ALIGNED __aligned
31 #define STDARGS __stdargs
34 #define INLINE __inline
38 #define REG(xn, parm) __ ## xn parm
40 #define SAVEDS __geta4
51 #endif /* _AMIGA_MACROS_H */