diff options
Diffstat (limited to 'include/apos')
| -rw-r--r-- | include/apos/utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/apos/utils.h b/include/apos/utils.h index 91b8535..318ba0a 100644 --- a/include/apos/utils.h +++ b/include/apos/utils.h @@ -29,6 +29,7 @@ ((type *)((char *)(ptr) - offsetof(type, member))) #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) +#define ALIGNED(x, a) ((x) % a == 0) #include <apos/types.h> |
