diff options
-rw-r--r-- | include/osmocom/core/utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/osmocom/core/utils.h b/include/osmocom/core/utils.h index 01b0ab99..a1a18e30 100644 --- a/include/osmocom/core/utils.h +++ b/include/osmocom/core/utils.h @@ -3,6 +3,7 @@ #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) #define OSMO_MAX(a, b) (a) >= (b) ? (a) : (b) +#define OSMO_MIN(a, b) (a) >= (b) ? (b) : (a) #include <stdint.h> |