projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f3f499
)
elm_conform.c : MIN and MAX not always defined
author
Vincent Torri
<vincent.torri@gmail.com>
Wed, 18 May 2011 16:49:20 +0000
(16:49 +0000)
committer
Vincent Torri
<vincent.torri@gmail.com>
Wed, 18 May 2011 16:49:20 +0000
(16:49 +0000)
SVN revision: 59514
src/lib/elm_conform.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_conform.c
b/src/lib/elm_conform.c
index
a64c410
..
dea5bad
100644
(file)
--- a/
src/lib/elm_conform.c
+++ b/
src/lib/elm_conform.c
@@
-1,6
+1,14
@@
#include <Elementary.h>
#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
*