summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMagnus Lundborg <lundborg.magnus@gmail.com>2013-02-20 13:57:54 (GMT)
committerMagnus Lundborg <lundborg.magnus@gmail.com>2013-02-20 13:57:54 (GMT)
commit9044b51534262e6d407305edb91cee659c00a009 (patch)
tree00c2d53a67467420dba37de823985554ee97d50f /include
parentab4b12b84ab61c0dac28ed1794fbbc5169c27df9 (diff)
Changed min() and max() to tng_min() and tng_max()
Diffstat (limited to 'include')
-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