]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Fix Building Using MSVC
authorEric Thorpe <eric@sparklabs.com>
Wed, 15 Mar 2017 22:40:31 +0000 (09:40 +1100)
committerGert Doering <gert@greenie.muc.de>
Thu, 16 Mar 2017 07:59:08 +0000 (08:59 +0100)
commit3fa863100033e7d6d0cbb19361a52efbe097e69d
tree0da9e72802137581c5f8a382dbb68a7c403193a7
parent19d6cd4e63557c983cb0ab5094688c974588c2ff
Fix Building Using MSVC

This patch enables the building of OpenVPN for the 2.4 and master
branches using MSVC (Visual Studio 2013 / MSVC v120), which currently
doesn't work with 2.4 or a clone of master. 2013 is being used as it
reduces the complexity of the redistributable requirements and has
mostly complete C99 support. Further changes will be necessary for 2015
support when the switch is made.

Note the changes to config-msvc-version.h.in are more of a work around.
It was a simpler approach when compared to modifying msvc-generate.js to
handle m4 syntax, and so it may be dropped if there is an intention to
update the javascript generator.

Signed-off by: Eric Thorpe <eric@sparklabs.com>

Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <df273b9b-6ca4-a539-cdf5-d4f9f991896b@sparklabs.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg14268.html

Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit 5ab106db7b091c6409fd0a7e43f557a7931c200f)
config-msvc-version.h.in
config-msvc.h
src/openvpn/openvpn.vcxproj
src/openvpn/openvpn.vcxproj.filters