]> granicus.if.org Git - libevent/commit
build: struct sockaddr_un detection (sys/un.h, afunix.h)
authorAzat Khuzhin <azat@libevent.org>
Sun, 12 May 2019 13:12:06 +0000 (16:12 +0300)
committerAzat Khuzhin <azat@libevent.org>
Sun, 12 May 2019 15:17:53 +0000 (18:17 +0300)
commitda11217544727cda01a23db2198d24a591d993a3
treeeb63cdcf361335cefcb43c8428d40870898e0092
parent2707a4ffabe539999f37a0364f7b0ef44a90589a
build: struct sockaddr_un detection (sys/un.h, afunix.h)

- On UNIX:     sys/un.h
- Since win10: afunix.h

And windows has AF_UNIX but do not have sockaddr_un (before windows
build 17061 [1]), hence the sockaddr_un detection.

  [1]: https://devblogs.microsoft.com/commandline/af_unix-comes-to-windows/
CMakeLists.txt
configure.ac
event-config.h.cmake