Skip to content

Commit 9de9205

Browse files
committed
Add NOMINMAX so std::min is usable.
1 parent f48a870 commit 9de9205

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/public/stubs/Random.cpp

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

2020
#if defined(_WIN32) && !defined(__CYGWIN__)
2121
#define WIN32_LEAN_AND_MEAN
22+
#define NOMINMAX
2223
#include <Windows.h>
2324
#include <Bcrypt.h>
2425
#pragma comment(lib, "bcrypt.lib")

0 commit comments

Comments
 (0)