projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
237cc3b
)
Add forgotten minmax.h include file
author
Jens Axboe
<axboe@kernel.dk>
Tue, 6 Nov 2012 09:52:32 +0000
(10:52 +0100)
committer
Jens Axboe
<axboe@kernel.dk>
Tue, 6 Nov 2012 09:52:32 +0000
(10:52 +0100)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
minmax.h
[new file with mode: 0644]
patch
|
blob
diff --git a/minmax.h
b/minmax.h
new file mode 100644
(file)
index 0000000..
e5c2f58
--- /dev/null
+++ b/
minmax.h
@@ -0,0
+1,11
@@
+#ifndef FIO_MIN_MAX_H
+#define FIO_MIN_MAX_H
+
+#ifndef min
+#define min(a, b) ((a) < (b) ? (a) : (b))
+#endif
+#ifndef max
+#define max(a, b) ((a) > (b) ? (a) : (b))
+#endif
+
+#endif