wayvnc/include/util.h

5 lines
103 B
C
Raw Normal View History

2020-06-21 16:26:10 +00:00
#pragma once
#define UDIV_UP(a, b) (((a) + (b) - 1) / (b))
#define ALIGN_UP(n, a) (UDIV_UP(n, a) * a)