Andrew Jeffery | 4622cad | 2020-11-03 22:20:18 +1030 | [diff] [blame] | 1 | #ifndef _RANGE_H |
2 | #define _RANGE_H | ||||
3 | |||||
Moritz Fischer | af0cd62 | 2022-06-28 19:00:18 -0700 | [diff] [blame] | 4 | #ifndef MIN |
Matt Johnston | 20f3862 | 2024-12-11 15:18:51 +0800 | [diff] [blame] | 5 | #define MIN(a, b) ((a) < (b) ? (a) : (b)) |
Moritz Fischer | af0cd62 | 2022-06-28 19:00:18 -0700 | [diff] [blame] | 6 | #endif |
Andrew Jeffery | 4622cad | 2020-11-03 22:20:18 +1030 | [diff] [blame] | 7 | |
Moritz Fischer | af0cd62 | 2022-06-28 19:00:18 -0700 | [diff] [blame] | 8 | #ifndef MAX |
Matt Johnston | 20f3862 | 2024-12-11 15:18:51 +0800 | [diff] [blame] | 9 | #define MAX(a, b) ((a) > (b) ? (a) : (b)) |
Moritz Fischer | af0cd62 | 2022-06-28 19:00:18 -0700 | [diff] [blame] | 10 | #endif |
Andrew Jeffery | 4622cad | 2020-11-03 22:20:18 +1030 | [diff] [blame] | 11 | |
12 | #endif |