Files
2020-10-28 19:35:03 +01:00

5 lines
206 B
C

/* The following macro alows the usage of the sizeof operator without an identifier */
#include <stddef.h>
#define acl_sizeof(type) offsetof(struct{type a; char b;}, b)
offsetof(struct{type a; char b;}, b)