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
+3 -1
View File
@@ -89,7 +89,9 @@ unsigned DiB_isError(size_t errorCode) { return ERR_isError(errorCode); }
const char* DiB_getErrorName(size_t errorCode) { return ERR_getErrorName(errorCode); }
#define MIN(a,b) ( (a) < (b) ? (a) : (b) )
#ifndef MIN
# define MIN(a,b) ((a) < (b) ? (a) : (b))
#endif
/* ********************************************************