mirror of
https://github.com/google/brotli.git
synced 2026-07-08 17:56:58 +00:00
wrap std::min + std::max in () to avoid issues building brotli on windows #114
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mbevin on GitHub (May 31, 2016).
windef.h (included by windows.h) defines min+max macros, so to avoid compilation issues on windows whenever include brotli headers after including windows headers (which can be very tricky to avoid/workaround in some projects), its best to either:
@eustas commented on GitHub (Jun 2, 2016):
New version of brotli encoder is almost ready to be published. In new version there is no std::* at all.
@eustas commented on GitHub (Jun 16, 2016):
Fixed in v0.5