]> git.street.me.uk Git - andy/viking.git/commitdiff
Remove unnecessary defines and undefs
authorRob Norris <rw_norris@hotmail.com>
Fri, 14 Apr 2017 10:31:59 +0000 (11:31 +0100)
committerRob Norris <rw_norris@hotmail.com>
Fri, 14 Apr 2017 10:31:59 +0000 (11:31 +0100)
MAX is available on all systems Viking currently supports.

src/thumbnails.c

index 856b5f9202812b0afeff47bd87ef30a8f2c5e83b..2eca0e8482afbd1da2911195ade67e4b3c5db2f5 100644 (file)
 #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