Bug 624442: ifndef-guard MIN/MAX macro definitions in vprof.cpp (r=fklockii)

--HG--
extra : convert_revision : 17d3562dd533c83fd7c1576eb114880b51f91306
This commit is contained in:
Edwin Smith 2011-03-02 09:26:17 -05:00
parent 5aeab46e08
commit 08c353a31a

View File

@ -51,8 +51,12 @@
#include "vprof.h" #include "vprof.h"
#ifndef MIN
#define MIN(x,y) ((x) <= (y) ? x : y) #define MIN(x,y) ((x) <= (y) ? x : y)
#endif
#ifndef MAX
#define MAX(x,y) ((x) >= (y) ? x : y) #define MAX(x,y) ((x) >= (y) ? x : y)
#endif
#ifndef MAXINT #ifndef MAXINT
#define MAXINT int(unsigned(-1)>>1) #define MAXINT int(unsigned(-1)>>1)