Undefining macro [max] from minwindef.h or stdlib.h

Macro [max] is included and makes it impossible to use [std::max] unless it's undefined again.
This commit is contained in:
Caball009 2022-11-08 06:33:30 +01:00 committed by GitHub
parent b42c03ce91
commit 0abebeb2e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -490,3 +490,5 @@ mmap_sink make_mmap_sink(const MappingToken& token, std::error_code& error)
#include "detail/mmap.ipp"
#endif // MIO_MMAP_HEADER
#undef max