diff options
| author | Alexander Taylor <alex@vector35.com> | 2025-06-04 16:47:17 -0400 |
|---|---|---|
| committer | Alexander Taylor <alex@vector35.com> | 2025-06-25 18:36:48 -0400 |
| commit | 2bce607fb7a861518346c9c7f42fab51c4b2b2ba (patch) | |
| tree | c1644ae943f40532cbb4e34a19f6d28d3fe2e507 | |
| parent | 86af4103eee7e4eeb5f0ba3fef9e3979a4399ee9 (diff) | |
Fix build error on Windows due to defined min/max.
This is so dumb.
| -rw-r--r-- | rapidjson/document.h | 8 |
1 files changed, 8 insertions, 0 deletions
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" |
