projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
When listing events, show exclusions if they exist
[lttng-tools.git]
/
src
/
common
/
macros.h
diff --git
a/src/common/macros.h
b/src/common/macros.h
index f6f975d1453d7ffa89deb2e4e97f55afafee514c..fc159c0af3c707102d7bb853a49360d16e01c1d1 100644
(file)
--- a/
src/common/macros.h
+++ b/
src/common/macros.h
@@
-56,6
+56,10
@@
#define max(a, b) ((a) > (b) ? (a) : (b))
#endif
+#ifndef max_t
+#define max_t(type, a, b) ((type) max(a, b))
+#endif
+
#ifndef min
#define min(a, b) ((a) < (b) ? (a) : (b))
#endif
This page took
0.024465 seconds
and
4
git commands to generate.