From: Vincent Torri Date: Wed, 18 May 2011 16:49:20 +0000 (+0000) Subject: elm_conform.c : MIN and MAX not always defined X-Git-Tag: v1.0.0~2994 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=62c734b9da48b305bd5e006b0de8e3ac89aa6386;p=platform%2Fupstream%2Felementary.git elm_conform.c : MIN and MAX not always defined SVN revision: 59514 --- diff --git a/src/lib/elm_conform.c b/src/lib/elm_conform.c index a64c410..dea5bad 100644 --- a/src/lib/elm_conform.c +++ b/src/lib/elm_conform.c @@ -1,6 +1,14 @@ #include #include "elm_priv.h" +#ifndef MIN +# define MIN(a,b) ((a) < (b)) ? (a) : (b) +#endif + +#ifndef MAX +# define MAX(a,b) ((a) < (b)) ? (b) : (a) +#endif + /** * @defgroup Conformant Conformant *