Skip to content

Windows without zlib (UWS_NO_ZLIB) #1514

Answered by cirospaciari
cirospaciari asked this question in Q&A
Discussion options

You must be logged in to vote

When using boringssl that includes windows.h header + DUWS_NO_ZLIB option, passing /D "NOMINMAX" in cl or -DNOMINMAX in clang solves this compilation issue, the min/max on windows.h just affect this line in a broken way, i will keep the use of std::min<size_t>(a, b) in my fork + /D "NOMINMAX" (if in future i drop my fork an use uWebSockets directly)

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@cirospaciari
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by cirospaciari
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants