wayvnc/include/util.h

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)