Added a NOMINMAX define for windows builds

This commit is contained in:
Paul Ferrand 2020-01-04 16:30:23 +01:00
parent c6b188abf9
commit 6b713b11c4

View file

@ -23,6 +23,11 @@
#pragma once
#ifdef _WIN32
// There's a spurious min/max function in MSVC that makes everything go badly...
#define NOMINMAX
#endif
namespace sfz {
enum class Oversampling: int {
x1 = 1,