diff --git a/BPTCEncoder/src/BC7Compressor.cpp b/BPTCEncoder/src/BC7Compressor.cpp index e39eeff..f09f4d8 100755 --- a/BPTCEncoder/src/BC7Compressor.cpp +++ b/BPTCEncoder/src/BC7Compressor.cpp @@ -78,6 +78,11 @@ # include "Windows.h" #endif +#ifdef _MSC_VER +# undef min +# undef max +#endif // _MSC_VER + #include #include #include