commit ab18e2097f61ddc3b9086b69e6d9463ce4c3bd90
parent 0ccf2f026b4addfd1be17cda27ba73b712921064
Author: Christian Hesse <mail@eworm.de>
Date: Mon, 1 Dec 2014 14:07:20 +0100
Do not redefine MIN and MAX
This includes util.h, which includes glib.h, which includes gmacros.h,
which defines MIN and MAX.
Diffstat:
1 file changed, 0 insertions(+), 3 deletions(-)
diff --git a/src/plugins/mailmbox/mmapstring.c b/src/plugins/mailmbox/mmapstring.c
@@ -46,9 +46,6 @@
#include "utils.h"
-#define MAX(a, b) ((a) > (b) ? (a) : (b))
-#define MIN(a, b) ((a) < (b) ? (a) : (b))
-
#define MMAP_STRING_DEFAULT_CEIL (8 * 1024 * 1024)
#define DEFAULT_TMP_PATH "/tmp"