You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Is there a specific reason to undef HOST_NOT_FOUND? #94
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.
Activity
chronoxor commentedon Nov 22, 2023
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)

chronoxor commentedon Nov 22, 2023
But other definitions from Winapi.h must be undefined anyway, because they are duplicates even with std libraries (e.g. std::min, std::max):
#undef DELETE
#undef ERROR
#undef Yield
#undef min
#undef max
#undef uuid_t
MrJia1997 commentedon Nov 22, 2023
Thank you for your prompt response! The reason why I ask this is that
HOST_NOT_FOUNDis also used innetdb.hon Linux, and undefine it will cause some other libraries to not work, e.g., Asio.chronoxor commentedon Nov 22, 2023
Probably I'll remove it soon. Thanks for pointing on this!
Is there a specific reason to undef HOST_NOT_FOUND? #94
chronoxor commentedon Nov 22, 2023
Fixed in FBE 1.14.5.0