mirror of
https://github.com/vimpunk/mio.git
synced 2025-12-06 16:57:01 +08:00
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:
parent
b42c03ce91
commit
0abebeb2e2
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user