gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r6437 - GNUnet/src/include


From: gnunet
Subject: [GNUnet-SVN] r6437 - GNUnet/src/include
Date: Sun, 24 Feb 2008 07:06:12 -0700 (MST)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]