summaryrefslogtreecommitdiff
path: root/include/tng_io.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/tng_io.h')
-rw-r--r--include/tng_io.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tng_io.h b/include/tng_io.h
index fdf1bb4..4b91f7e 100644
--- a/include/tng_io.h
+++ b/include/tng_io.h
@@ -244,13 +244,13 @@
/** Inline function for finding the lowest of two values */
-#define min(a,b) \
+#define tng_min(a,b) \
({ __typeof__ (a) _a = (a); \
__typeof__ (b) _b = (b); \
_a < _b ? _a : _b; })
/** Inline function for finding the highest of two values */
-#define max(a,b) \
+#define tng_max(a,b) \
({ __typeof__ (a) _a = (a); \
__typeof__ (b) _b = (b); \
_a > _b ? _a : _b; })
contact: Jan Huwald // Impressum