diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2012-01-28 20:03:34 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2012-01-28 20:03:34 +0300 |
commit | c34dcde2b1a282071de316f03f4dec4a12efc73b (patch) | |
tree | 68bf35af2de003f33d26d153f744cd746a9458cc | |
parent | 42fd58e580a99e15d5c647f13fe316af1ce8e1fa (diff) | |
download | libbsd-c34dcde2b1a282071de316f03f4dec4a12efc73b.tar.gz |
Missing MIN(a, b) macro
-rw-r--r-- | src/hash/helper.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/hash/helper.c b/src/hash/helper.c index fe3f3e7..f0f5a17 100644 --- a/src/hash/helper.c +++ b/src/hash/helper.c @@ -22,6 +22,10 @@ #include <hashinc> +#ifndef MIN +#define MIN(a, b) ((a) > (b) ? (b) : (a)) +#endif + /* ARGSUSED */ char * HASHEnd(HASH_CTX *ctx, char *buf) |