From 975121883a2eaae9449db04d920e74173d4a8816 Mon Sep 17 00:00:00 2001 From: Rob Norris Date: Fri, 14 Apr 2017 11:31:59 +0100 Subject: [PATCH] Remove unnecessary defines and undefs MAX is available on all systems Viking currently supports. --- src/thumbnails.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/thumbnails.c b/src/thumbnails.c index 856b5f92..2eca0e84 100644 --- a/src/thumbnails.c +++ b/src/thumbnails.c @@ -54,13 +54,6 @@ #define ST_SIZE_FMT "%ld" #endif -#undef MIN /* quit yer whining, gcc */ -#undef MAX -#ifndef MAX -/* We need MAX macro and some system does not offer it */ -#define MAX(a,b) (((a)>(b))?(a):(b)) -#endif - static gchar* thumb_dir = NULL; #ifdef WINDOWS -- 2.39.5