Add ROUND_UP_64

This commit is contained in:
Jack Andersen 2016-04-03 16:31:25 -10:00
parent 50406520ba
commit 8b2f1a8591
1 changed files with 1 additions and 0 deletions

View File

@ -67,6 +67,7 @@ typedef struct stat64 stat64_t;
#endif #endif
#define ROUND_UP_256(val) (((val) + 255) & ~255) #define ROUND_UP_256(val) (((val) + 255) & ~255)
#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_4(val) (((val) + 3) & ~3) #define ROUND_UP_4(val) (((val) + 3) & ~3)