diff options
Diffstat (limited to 'util.h')
| -rw-r--r-- | util.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -0,0 +1,5 @@ +#pragma once + +#define ALEN(v) (sizeof(v) / sizeof((v)[0])) +#define min(x, y) ((x) < (y) ? (x) : (y)) +#define max(x, y) ((x) > (y) ? (x) : (y)) |
