From 7569ff3cc81df6abb41934295a5739c36c76306b Mon Sep 17 00:00:00 2001 From: Frediano Ziglio Date: Sat, 2 Dec 2017 17:43:54 +0000 Subject: [PATCH] test-vdagent: Remove useless MIN definition Already defined by GLib headers. Signed-off-by: Frediano Ziglio Maybe this check should just be removed? --- server/tests/test-vdagent.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/server/tests/test-vdagent.c b/server/tests/test-vdagent.c index 01308d0d..c734ddec 100644 --- a/server/tests/test-vdagent.c +++ b/server/tests/test-vdagent.c @@ -29,11 +29,6 @@ #include "test-display-base.h" #include "test-glib-compat.h" -#ifndef MIN -#define MIN(a, b) ((a) > (b) ? (b) : (a)) -#endif - - static int vmc_write(SPICE_GNUC_UNUSED SpiceCharDeviceInstance *sin, SPICE_GNUC_UNUSED const uint8_t *buf, int len)