Skip to content

Commit b713629

Browse files
committed
Add MIN() macro
1 parent 179af6d commit b713629

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
99

1010
#define MAX(a,b) ((a) > (b) ? (a) : (b))
11+
#define MIN(a,b) ((a) < (b) ? (a) : (b))
1112

1213
int
1314
timespan_to_string(

0 commit comments

Comments
 (0)