Author: durner
Date: 2008-02-24 07:06:12 -0700 (Sun, 24 Feb 2008)
New Revision: 6437

Modified:
   GNUnet/src/include/gnunet_util.h
Log:
min & max

Modified: GNUnet/src/include/gnunet_util.h
===================================================================
--- GNUnet/src/include/gnunet_util.h    2008-02-24 09:01:45 UTC (rev 6436)
+++ GNUnet/src/include/gnunet_util.h    2008-02-24 14:06:12 UTC (rev 6437)
@@ -70,6 +70,14 @@
 #endif
 #endif
 
+#ifndef MIN
+#define MIN(x,y) ((x) < (y) ? (x) : (y))
+#endif
+
+#ifndef MAX
+#define MAX(x,y) ((x) > (y) ? (x) : (y))
+#endif
+
 /**
  * Just the version number of GNUnet-util implementation.
  * Encoded as



_______________________________________________
GNUnet-SVN mailing list
GNUnet-SVN@gnu.org
http://lists.gnu.org/mailman/listinfo/gnunet-svn

Reply via email to