Add min/max macros
This commit is contained in:
parent
8221e3d052
commit
548b023e76
1 changed files with 2 additions and 0 deletions
2
tvhead.h
2
tvhead.h
|
@ -890,5 +890,7 @@ extern inline unsigned int tvh_strhash(const char *s, unsigned int mod)
|
|||
return v % mod;
|
||||
}
|
||||
|
||||
#define MIN(a,b) ((a) < (b) ? (a) : (b))
|
||||
#define MAX(a,b) ((a) > (b) ? (a) : (b))
|
||||
|
||||
#endif /* TV_HEAD_H */
|
||||
|
|
Loading…
Add table
Reference in a new issue