]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/efl/ewl/minmax.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / efl / ewl / minmax.patch
1 diff -Nur ewl-0.0.4.004~/src/lib/Ewl.h.in ewl-0.0.4.004/src/lib/Ewl.h.in
2 --- ewl-0.0.4.004~/src/lib/Ewl.h.in     2005-09-29 18:26:11.000000000 -0700
3 +++ ewl-0.0.4.004/src/lib/Ewl.h.in      2005-09-29 18:26:55.000000000 -0700
4 @@ -254,6 +254,14 @@
5  extern"C" {
6  #endif
7  
8 +#ifndef MAX
9 +#define MAX(a, b) (a > b ? a : b)
10 +#endif
11 +
12 +#ifndef MIN
13 +#define MIN(a, b) (a < b ? a : b)
14 +#endif
15 +
16  #include <Evas.h>
17  #include <Edje.h>
18  #include <Ecore.h>