Add ROUND_UP_8

This commit is contained in:
Jack Andersen 2017-01-03 19:24:31 -10:00
parent 26407b49e2
commit fdd2de6dbe
1 changed files with 1 additions and 0 deletions

View File

@ -70,6 +70,7 @@ typedef struct stat64 atStat64_t;
#define ROUND_UP_64(val) (((val) + 63) & ~63) #define ROUND_UP_64(val) (((val) + 63) & ~63)
#define ROUND_UP_32(val) (((val) + 31) & ~31) #define ROUND_UP_32(val) (((val) + 31) & ~31)
#define ROUND_UP_16(val) (((val) + 15) & ~15) #define ROUND_UP_16(val) (((val) + 15) & ~15)
#define ROUND_UP_8(val) (((val) + 7) & ~7)
#define ROUND_UP_4(val) (((val) + 3) & ~3) #define ROUND_UP_4(val) (((val) + 3) & ~3)
#define _XSTR(s) _STR(s) #define _XSTR(s) _STR(s)