zeromq / libzmq

ZeroMQ core engine in C++, implements ZMTP/3.1
https://www.zeromq.org
Mozilla Public License 2.0
9.45k stars 2.34k forks source link

Do not use _MSC_VER if windows #4678

Closed stephanlachnit closed 2 months ago

stephanlachnit commented 2 months ago

This fixes several instances where _MSC_VER was used to determine whether to use afunix.h or not. For example, MinGW requires the use of afunix.h but does not define _MSC_VER. The correct behavior is checking ZMQ_HAVE_WINDOWS.

stephanlachnit commented 2 months ago

@bluca would it be possible to create a 4.3.6 release with this change?