Closed MrJia1997 closed 10 months ago
Quick answer - we have HOST_NOT_FOUND duplicate in one of our projects and we want a quick solution for this issue 😊(https://emojipedia.org/smiling-face-with-smiling-eyes)
But other definitions from Winapi.h must be undefined anyway, because they are duplicates even with std libraries (e.g. std::min, std::max):
Thank you for your prompt response! The reason why I ask this is that HOST_NOT_FOUND
is also used in netdb.h
on Linux, and undefine it will cause some other libraries to not work, e.g., Asio.
Probably I'll remove it soon. Thanks for pointing on this!
Fixed in FBE 1.14.5.0
Just wonder. Is there a specific reason to undef HOST_NOT_FOUND? What's the problem if it's still defined?
https://github.com/chronoxor/FastBinaryEncoding/blob/b1f5223846c76ae909d720a83099fff1ffdd5da6/proto/fbe.h#L44