]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
add a definition of "min" macro, now needed in xfs_log_recover.c
authorNathan Scott <nathans@sgi.com>
Sun, 30 Sep 2001 23:41:44 +0000 (23:41 +0000)
committerNathan Scott <nathans@sgi.com>
Sun, 30 Sep 2001 23:41:44 +0000 (23:41 +0000)
logprint/logprint.h

index 6027dfb0126d032db6f294031fdf629f359e5245..ba267506029e645d7f12f6321fb9332b6ee6bc37 100644 (file)
@@ -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...) \