TaggedOpenLibrary constants off by one fix.
[AROS.git] / tools / genmodule / archspecific.c
blobc51f3e4a4352d21bfafa18d50356584f5b4df282
1 #include <aros/cpu.h>
2 #include <exec/libraries.h>
3 #include <exec/types.h>
5 #define _STR(x) #x
6 #define STR(x) _STR(x)
8 asm ("\n#define STUBCODE_INIT " STR(STUBCODE_INIT));
9 asm ("\n#define STUBCODE " STR(STUBCODE));
10 asm ("\n#define ALIASCODE " STR(ALIASCODE));
12 void foo()
14 asm volatile("\n#define LIB_VECTSIZE @SED@%0"::"i"(LIB_VECTSIZE));