Skip to content

Commit b74dd8e

Browse files
committed
Prevent Windows min/max macros from conflicting with std::min/std::max
1 parent f9f6c37 commit b74dd8e

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/ring_simplejson.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// Prevent Windows min/max macros from conflicting with std::min/std::max
2+
#ifdef _WIN32
3+
#define NOMINMAX
4+
#endif
5+
16
#include "glaze/base64/base64.hpp"
27
#include "glaze/cbor.hpp"
38
#include "glaze/csv.hpp"

0 commit comments

Comments
 (0)