Skip to content

Commit 8ac2c62

Browse files
committed
Define NOMINMAX to suppress the min and max macros in Windef.h
1 parent b5d0ec4 commit 8ac2c62

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/MIDataTypes.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
// Windows headers:
1818
#ifdef _WIN32
1919

20+
// Suppress the min and max macro definitions in Windef.h.
21+
#define NOMINMAX
2022
#include <windows.h>
2123

2224
// Debugging:

0 commit comments

Comments
 (0)