From: Oliver Kurth Date: Mon, 15 Apr 2019 18:32:58 +0000 (-0700) Subject: Common header file change not applicable to open-vm-tools. X-Git-Tag: stable-11.0.0~126 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f35313969af9bd2815709930f054171d7ebbcbc9;p=thirdparty%2Fopen-vm-tools.git Common header file change not applicable to open-vm-tools. --- diff --git a/open-vm-tools/lib/include/vm_basic_types.h b/open-vm-tools/lib/include/vm_basic_types.h index 09019f551..393f005c3 100644 --- a/open-vm-tools/lib/include/vm_basic_types.h +++ b/open-vm-tools/lib/include/vm_basic_types.h @@ -744,6 +744,27 @@ typedef void * UserVA; #error "cl.exe version is too old, need vc80 or better" #endif +/* PR 2317063: work towards a baseline of vc130/vs2015 */ +#if defined _MSC_VER && _MSC_VER < 1500 +#error "cl.exe version is too old, need vc90 or better, update bug 2317063" +#endif +#if defined _MSC_VER && _MSC_VER < 1600 +#error "cl.exe version is too old, need vs2010 or better, update bug 2317063" +#endif +#if defined _MSC_VER && _MSC_VER < 1700 +#error "cl.exe version is too old, need vs2012 or better, update bug 2317063" +#endif +#if 0 +/* vs2013 is still in widespread use */ +#if defined _MSC_VER && _MSC_VER < 1800 +#error "cl.exe version is too old, need vs2013 or better, update bug 2317063" +#endif +#if defined _MSC_VER && _MSC_VER < 1900 +#error "cl.exe version is too old, need vs2015 or better, update bug 2317063" +#endif +#endif + + /* * Consider the following reasons functions are inlined: