mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-13 10:52:56 +01:00
5eb0b00c87
* Problem: In rare cases, afunix.h doesn't contain a definition for struct sockaddr_un
According to https://github.com/microsoft/vcpkg/issues/21623,
struct sockaddr_un might be unavailable on some machines even afunix.h exists.
For example, on some machines, the content of afunix.h looks like this:
typedef struct _SOCKADDR_UN
{
ADDRESS_FAMILY Family;
wchar_t Path[63];
} SOCKADDR_UN, *PSOCKADDR_UN;
but on other machines, it may looks like this:
#define UNIX_PATH_MAX 108
typedef struct sockaddr_un
{
ADDRESS_FAMILY sun_family;
char sun_path[UNIX_PATH_MAX];
} SOCKADDR_UN, *PSOCKADDR_UN;
Fixes #3949
References:
- [Enable Unix-domain sockets support on Windows](
|
||
---|---|---|
.. | ||
abi-compliance-checker | ||
android | ||
cmake | ||
coverage | ||
cygwin | ||
deprecated-msvc | ||
fuzz | ||
gyp | ||
ios | ||
mingw32 | ||
nuget | ||
openwrt | ||
qnx | ||
valgrind | ||
vxworks | ||
zos | ||
Makefile.am | ||
README |
This directory holds build tools, i.e. tools we use to build the current code tree. Packaging tools (which take released tarballs or github code repos) should go into /packaging. Note: 'deprecated-msvc' contains deprecated prepared Visual Studio Solution files for various Visual Studio versions. These are no longer maintained, and may or may not work. Please use cmake instead to build with Visual Studio. Rationale: The solution and project files are hard to maintain, since there are different variants for each Visual Studio version. The tests have never been included there for this reason, so they were never usable for actual development of libzmq. If you encounter that something that worked before does not work with CMake, please open as issue at https://github.com/zeromq/libzmq/issues.