From 35c42cb00ba1ee7cc2ebc3ed6a2cdeff9d4f585e Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Sun, 6 Jun 2021 22:04:31 -0700 Subject: [PATCH] Remove redundant definitions of min/max These aren't used and they conflict with other sources in single-source build. --- encoder/basisu_resampler.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/encoder/basisu_resampler.cpp b/encoder/basisu_resampler.cpp index e193ce8..f4cedf0 100644 --- a/encoder/basisu_resampler.cpp +++ b/encoder/basisu_resampler.cpp @@ -15,14 +15,6 @@ #include "basisu_resampler.h" #include "basisu_resampler_filters.h" -#ifndef max -#define max(a, b) (((a) > (b)) ? (a) : (b)) -#endif - -#ifndef min -#define min(a, b) (((a) < (b)) ? (a) : (b)) -#endif - #define RESAMPLER_DEBUG 0 namespace basisu