p7zip: assorted fixes
[oi-userland.git] / components / encumbered / minidlna / patches / 01-min-max.patch
blob3ec76d260b838d1576355ab9bc0ebf8e91a1bf50
1 --- minidlna-1.3.3/utils.h.orig
2 +++ minidlna-1.3.3/utils.h
3 @@ -30,6 +30,14 @@
5 #include "minidlnatypes.h"
7 +#ifndef MIN
8 +#define MIN(a,b) (((a)<(b))?(a):(b))
9 +#endif
11 +#ifndef MAX
12 +#define MAX(a,b) (((a)>(b))?(a):(b))
13 +#endif
15 /* String functions */
16 /* We really want this one inlined, since it has a major performance impact */
17 static inline int