From: Nathan Scott Date: Sun, 30 Sep 2001 23:41:44 +0000 (+0000) Subject: add a definition of "min" macro, now needed in xfs_log_recover.c X-Git-Tag: v2.0.0~45 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c28da882f7dcfa0cfed856ebeebdb4f7404172ec;p=thirdparty%2Fxfsprogs-dev.git add a definition of "min" macro, now needed in xfs_log_recover.c --- diff --git a/logprint/logprint.h b/logprint/logprint.h index 6027dfb01..ba2675060 100644 --- a/logprint/logprint.h +++ b/logprint/logprint.h @@ -74,6 +74,7 @@ typedef struct log { #define STATIC static #define EFSCORRUPTED 990 #define XFS_ERROR(e) (e) +#define min(a,b) ((a) < (b) ? (a) : (b)) #if (__GNUC__ < 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ <= 95)) # define xlog_warn(fmt,args...) \