]> git.ipfire.org Git - thirdparty/openvpn.git/commit
platform.c: Do not depend Windows build on HAVE_CHDIR
authorFrank Lichtenheld <frank@lichtenheld.com>
Sat, 11 Nov 2023 08:18:08 +0000 (09:18 +0100)
committerGert Doering <gert@greenie.muc.de>
Sat, 11 Nov 2023 08:25:04 +0000 (09:25 +0100)
commit012ea92c414282488e3d60c87452849bde64aac4
treea1639417c882afcc09f600eb4562577df3e1b9ae
parent753cba211c4752ef13d810b757f1aa7dee89626b
platform.c: Do not depend Windows build on HAVE_CHDIR

This broke in the CMake build since previously we
just always set HAVE_CHDIR to 1 in the MSVC build.
But actually the code should just not check HAVE_CHDIR
on Windows.

Github: fixes OpenVPN/openvpn#448

Change-Id: I0c78ce452135fe2c80275da449215ba926471018
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
Acked-by: Lev Stipakov <lstipakov@gmail.com>
Message-Id: <20231111081808.30967-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg27362.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/platform.c