Enlightenment CVS committal
Author : sebastid
Project : misc
Module : embrace
Dir : misc/embrace/src/include
Modified Files:
embrace.h
Log Message:
define MIN and MAX
===================================================================
RCS file: /cvsroot/enlightenment/misc/embrace/src/include/embrace.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- embrace.h 5 Sep 2005 12:32:52 -0000 1.3
+++ embrace.h 5 Sep 2005 16:16:56 -0000 1.4
@@ -1,5 +1,5 @@
/*
- * $Id: embrace.h,v 1.3 2005/09/05 12:32:52 sebastid Exp $
+ * $Id: embrace.h,v 1.4 2005/09/05 16:16:56 sebastid Exp $
*
* Copyright (C) 2004 Embrace project.
*
@@ -27,6 +27,14 @@
#include <limits.h>
+#ifndef MIN
+#define MIN(x, y) (((x) > (y)) ? (y) : (x))
+#endif
+
+#ifndef MAX
+#define MAX(x, y) (((x) > (y)) ? (x) : (y))
+#endif
+
typedef struct {
char theme[PATH_MAX + 1];
char evas_engine[255];
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs