Added a NOMINMAX define for windows builds
This commit is contained in:
parent
c6b188abf9
commit
6b713b11c4
1 changed files with 5 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue