git://git.jankratochvil.net
/
gdbmicli.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
b16f2b287656e0978832043798462aed60d7b09c
[gdbmicli.git]
/
ansidecl.h
1
#define GCC_VERSION (__GNUC__ * 1000 + __GNUC_MINOR__)
2
#if GCC_VERSION < 2007
3
# define __attribute__(x)
4
#endif
5
#define ATTRIBUTE_NORETURN __attribute__ ((__noreturn__))
6
#define ATTRIBUTE_UNUSED __attribute__ ((__unused__))
7
#define LENGTH(x) (sizeof (x) / sizeof (*(x)))
8
9
#define bool int
10
#define true 1
11
#define false 0