diff --git a/src/sfizz/Config.h b/src/sfizz/Config.h index 69bf58b9..4a3a9e9d 100644 --- a/src/sfizz/Config.h +++ b/src/sfizz/Config.h @@ -7,7 +7,9 @@ #pragma once #ifdef _WIN32 // There's a spurious min/max function in MSVC that makes everything go badly... -#define NOMINMAX +#ifndef NOMINMAX +#define NOMINMAX 1 +#endif #define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING #endif #include