mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
ALIGN -> BIRD_ALIGN
This commit is contained in:
@@ -13,9 +13,7 @@
|
||||
|
||||
#define OFFSETOF(s, i) ((unsigned int)&((s *)0)->i)
|
||||
#define SKIP_BACK(s, i, p) ((s *)((char *)p - OFFSETOF(s, i)))
|
||||
#ifndef ALIGN
|
||||
#define ALIGN(s, a) (((s)+a-1)&~(a-1))
|
||||
#endif
|
||||
#define BIRD_ALIGN(s, a) (((s)+a-1)&~(a-1))
|
||||
|
||||
/* Utility macros */
|
||||
|
||||
|
Reference in New Issue
Block a user