From 2bce607fb7a861518346c9c7f42fab51c4b2b2ba Mon Sep 17 00:00:00 2001 From: Alexander Taylor Date: Wed, 4 Jun 2025 16:47:17 -0400 Subject: Fix build error on Windows due to defined min/max. This is so dumb. --- rapidjson/document.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/rapidjson/document.h b/rapidjson/document.h index 619029a2..340b6c40 100644 --- a/rapidjson/document.h +++ b/rapidjson/document.h @@ -15,6 +15,14 @@ #ifndef RAPIDJSON_DOCUMENT_H_ #define RAPIDJSON_DOCUMENT_H_ +#ifdef max +#undef max +#endif +#ifdef min +#undef min +#endif + + /*! \file document.h */ #include "reader.h" -- cgit v1.3.1