Fix compilation on macOS

This commit is contained in:
Sean Purcell
2017-04-13 12:33:45 -07:00
parent afa48518e2
commit f876f1200c
4 changed files with 15 additions and 5 deletions
+7 -2
View File
@@ -146,8 +146,13 @@ typedef struct {
} blockParam_t;
#define MIN(a,b) ((a)<(b) ? (a) : (b))
#define MAX(a,b) ((a)>(b) ? (a) : (b))
#ifndef MIN
# define MIN(a,b) ((a) < (b) ? (a) : (b))
#endif
#ifndef MAX
# define MAX(a,b) ((a) > (b) ? (a) : (b))
#endif
static int BMK_benchMem(const void* srcBuffer, size_t srcSize,
const char* displayName, int cLevel,