libzmq/builds/cmake
myd7349 5eb0b00c87
Problem: In rare cases, afunix.h doesn't contain a definition for struct sockaddr_un (#4310)
* 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](8f3ec75de4)
- [AF_UNIX equivalent for Windows](https://stackoverflow.com/questions/9029174/af-unix-equivalent-for-windows)
- https://devblogs.microsoft.com/commandline/af_unix-comes-to-windows/
2021-11-24 14:55:45 +00:00
..
Modules Problem: No direct support for setting socket priority (#4118) 2021-01-06 22:22:41 +00:00
ci_build.sh Problem: Travis is no longer free for FLOSS projects 2021-09-22 16:42:09 +01:00
clang-format-check.sh.in Problem: clang-format not run on CI 2018-02-02 15:47:43 +01:00
NSIS.template32.in Move CMake dependencies together. 2013-07-14 13:36:30 -04:00
NSIS.template64.in Move CMake dependencies together. 2013-07-14 13:36:30 -04:00
platform.hpp.in Problem: In rare cases, afunix.h doesn't contain a definition for struct sockaddr_un (#4310) 2021-11-24 14:55:45 +00:00
ZeroMQConfig.cmake.in Problem: Missing ZeroMQ_INCLUDE_DIR when only static lib is built 2019-07-09 13:50:24 +08:00