diff options
Diffstat (limited to 'osdep.h')
-rw-r--r-- | osdep.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -36,6 +36,9 @@ (type *) ((char *) __mptr - offsetof(type, member));}) #endif +#define typeof_field(type, field) typeof(((type *)0)->field) +#define type_check(t1,t2) ((t1*)0 - (t2*)0) + #ifndef MIN #define MIN(a, b) (((a) < (b)) ? (a) : (b)) #endif |