Implement ELF function offset extraction function
[lttng-tools.git] / src / common / macros.h
index 33ada7321801a14b438a27dca246ec8fbfb0c897..c521aacd5f3df8f582502ce8faa9f29feb1c9063 100644 (file)
@@ -79,6 +79,10 @@ void *zmalloc(size_t len)
 #define min(a, b) ((a) < (b) ? (a) : (b))
 #endif
 
+#ifndef min_t
+#define min_t(type, a, b)      ((type) min(a, b))
+#endif
+
 #ifndef LTTNG_PACKED
 #define LTTNG_PACKED __attribute__((__packed__))
 #endif
This page took 0.023043 seconds and 4 git commands to generate.