5 lines
103 B
C
5 lines
103 B
C
|
#pragma once
|
||
|
|
||
|
#define UDIV_UP(a, b) (((a) + (b) - 1) / (b))
|
||
|
#define ALIGN_UP(n, a) (UDIV_UP(n, a) * a)
|