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 the macro's undefined again.
This commit is contained in:
parent
3f86a95c07
commit
b42c03ce91
@ -1758,3 +1758,5 @@ using shared_ummap_sink = basic_shared_mmap_sink<unsigned char>;
|
||||
} // namespace mio
|
||||
|
||||
#endif // MIO_SHARED_MMAP_HEADER
|
||||
|
||||
#undef max
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user