diff options
author | David Robillard <d@drobilla.net> | 2019-10-19 03:29:26 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-10-27 13:13:58 +0100 |
commit | 6f2d3942dff7e176f4771ea6134ffcc88e33ef42 (patch) | |
tree | 38cd50096fcbcd9e5eca042394dc18ce5bf5e8e7 /src/int_math.h | |
parent | 39819593f45c29982182c740c5ba6669473ebfc3 (diff) | |
download | serd-6f2d3942dff7e176f4771ea6134ffcc88e33ef42.tar.gz serd-6f2d3942dff7e176f4771ea6134ffcc88e33ef42.tar.bz2 serd-6f2d3942dff7e176f4771ea6134ffcc88e33ef42.zip |
Move MIN macro to int_math.h
Diffstat (limited to 'src/int_math.h')
-rw-r--r-- | src/int_math.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/int_math.h b/src/int_math.h index 34ceba64..b2e66856 100644 --- a/src/int_math.h +++ b/src/int_math.h @@ -19,6 +19,8 @@ #include <stdint.h> +#define MIN(x, y) ((x) < (y) ? (x) : (y)) + static const uint64_t POW10[] = {1ull, 10ull, 100ull, |