]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Remove a number of platform specific checks in configure.ac
authorArne Schwabe <arne@rfc2549.org>
Thu, 22 Apr 2021 15:29:39 +0000 (17:29 +0200)
committerGert Doering <gert@greenie.muc.de>
Mon, 3 May 2021 06:18:55 +0000 (08:18 +0200)
commitba49c9a7bf7dfeea181b5f18a921a5d29c9b10b3
tree12a8dbe5c37ffef106832533117670240ac583b2
parentd4c1a453c2084fa09baeee58cda0a9823e0b5038
Remove a number of platform specific checks in configure.ac

- Remove windows XP/old mingw compat code in socket.c
- Use _WIN32 instead checking for existence of windows.h, winsock2.h
  and ws2tcpip.h in autconf
- Remove check for unlink. The last remaining use is a check inside
  a Unix socket.
- Even Windows has umask, so remove the check for it
- Move epoll.h inclusion to event.c

Patch V2: Add epoll.h syshead.h that accidently was put into another
          patch

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20210422152939.2134046-6-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg22201.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
configure.ac
src/compat/compat.h
src/openvpn/event.c
src/openvpn/socket.c
src/openvpn/syshead.h