In asxlat, translate ! to ~ (not operator; used with bic instruction)
[pdp11_as.git] / krcompat.h
1 #ifndef _KRCOMPAT_H
2 #define _KRCOMPAT_H 1
3
4 #undef PARAMS
5 #ifdef __STDC__
6 #include <stdarg.h>
7 #define VA_START(ap, arg) va_start(ap, arg)
8 #define PARAMS(args) args
9 #else
10 #include <varargs.h>
11 #define VA_START(ap, arg) va_start(ap)
12 #define PARAMS(args) ()
13 #endif
14
15 #ifdef __GNUC__
16 #define NORETURN __attribute__ ((noreturn))
17 #else
18 #define NORETURN
19 #endif
20
21 #endif