diff options
Diffstat (limited to 'lib/igt_aux.h')
-rw-r--r-- | lib/igt_aux.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/igt_aux.h b/lib/igt_aux.h index d74bb8c4..415614b4 100644 --- a/lib/igt_aux.h +++ b/lib/igt_aux.h @@ -83,4 +83,8 @@ bool intel_check_memory(uint32_t count, uint32_t size, unsigned mode); #define CHECK_RAM 0x1 #define CHECK_SWAP 0x2 + +#define min(a, b) ((a) < (b) ? (a) : (b)) +#define max(a, b) ((a) < (b) ? (a) : (b)) + #endif /* IGT_AUX_H */ |