Skip to content

Commit ba9445d

Browse files
committed
Add NOMINMAX macro for Win build to avoid using min() as a macro
1 parent 534702b commit ba9445d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/utils/shared_files.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
#include <stdio.h>
2121
#ifdef WIN32
22+
#define NOMINMAX
2223
#include <Windows.h>
2324
#endif
2425

0 commit comments

Comments
 (0)