Procházet zdrojové kódy

restore max() macro

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@243 f882894a-f735-0410-b71e-b25c423dba1c
Karl DeBisschop před 23 roky
rodič
revize
518c841e42
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      plugins/utils.c

+ 2 - 0
plugins/utils.c

@@ -65,6 +65,8 @@ char *strpcat (char *dest, const char *src, const char *str);
  * Note that numerically the above does not hold
  ****************************************************************************/
 
+#define max(a,b) (((a)>(b))?(a):(b))
+
 int
 max_state (int a, int b)
 {