diff options
author | Jeffrey Hutzelman <jhutz@cmu.edu> | 2013-01-29 14:19:04 -0500 |
---|---|---|
committer | Karl Ramm <kcr@1ts.org> | 2013-01-31 08:09:08 -0500 |
commit | 87af13270a47c7bb026a2d4d6275531f33ae43c7 (patch) | |
tree | cb19bf5d640dc4cc1e5105594fbb170791457fcd /lib | |
parent | a1af8cbeeca15f01b740721a988e74ca7f48b64b (diff) |
ZGetSubs.c: Make sure MIN is defined before using
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ZGetSubs.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ZGetSubs.c b/lib/ZGetSubs.c index 4e41c8b..7f8947f 100644 --- a/lib/ZGetSubs.c +++ b/lib/ZGetSubs.c @@ -16,6 +16,10 @@ static const char rcsid_ZGetSubscriptions_c[] = "$Id$"; #include <internal.h> +#ifndef MIN +#define MIN(x, y) ((x) < (y) ? (x) : (y)) +#endif + Code_t ZGetSubscriptions(ZSubscription_t *subscription, int *numsubs) |