Annotate doxygen-style
[centaur.git] / include / libelfu / generic.h
index 4e3239db2e33d618e2f62e2a68d4e7942fb24a14..ed774b140211375c269320a43c74674e1776de05 100644 (file)
@@ -4,9 +4,17 @@
 #include <gelf.h>
 
 
-#define MIN(x, y) ((x) < (y) ? (x) : (y))
-#define MAX(x, y) ((x) > (y) ? (x) : (y))
-#define ROUNDUP(x, align) ((x) + ((align) - ((x) % (align))) % (align))
+#ifndef MIN
+  #define MIN(x, y) ((x) < (y) ? (x) : (y))
+#endif
+
+#ifndef MAX
+  #define MAX(x, y) ((x) > (y) ? (x) : (y))
+#endif
+
+#ifndef ROUNDUP
+  #define ROUNDUP(x, align) ((x) + ((align) - ((x) % (align))) % (align))
+#endif
 
 
 #define OFFS_END(off, sz) ((off) + (sz))