Enlightenment CVS committal

Author  : tsauerbeck
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/lib/ecore


Modified Files:
        Ecore.h 


Log Message:
changed ECORE_MIN /MAX to MIN/MAX
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore/Ecore.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- Ecore.h     18 Mar 2004 05:29:54 -0000      1.8
+++ Ecore.h     19 Mar 2004 18:40:09 -0000      1.9
@@ -31,9 +31,13 @@
 extern "C" {
 #endif
 
-/* FIXME: [deprecated] Convenience macros */
-#define ECORE_MIN(x, y)          (((x) > (y)) ? (y) : (x))
-#define ECORE_MAX(x, y)          (((x) > (y)) ? (x) : (y))
+#ifndef MIN
+#define MIN(x, y) (((x) > (y)) ? (y) : (x))
+#endif
+
+#ifndef MAX
+#define MAX(x, y) (((x) > (y)) ? (x) : (y))
+#endif
 
 #define ECORE_EVENT_NONE         0
 #define ECORE_EVENT_EXE_EXIT     1 /**< Spawned Exe has exit event */




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to