]> 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:55:33 +0000 (08:55 +0100)
commit5ab106db7b091c6409fd0a7e43f557a7931c200f
tree25cb3780e5b4f3bdd954b44a55c2a784cc63a7af
parentfd0361813cd3d5a55f3408a018e2ed776d79fef6
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>
config-msvc-version.h.in
config-msvc.h
src/openvpn/openvpn.vcxproj
src/openvpn/openvpn.vcxproj.filters