Detect when msvc 6.0 is in use without PSDK installed, intentionally
authorYang Tse <yangsita@gmail.com>
Wed, 21 Oct 2009 02:30:56 +0000 (02:30 +0000)
committerYang Tse <yangsita@gmail.com>
Wed, 21 Oct 2009 02:30:56 +0000 (02:30 +0000)
commitff3223259f31becea6f1d95a826c6f23a0265aaa
treeda2df81ade05c98b8f8c067d8e81a86a40773b26
parent3da1ade4e505837fefb0cb8003ce7c63c34d1f87
Detect when msvc 6.0 is in use without PSDK installed, intentionally
fail to build when this happens, and show an appropriate error.

The brave of heart can circumvect this. Defining ALLOW_MSVC6_WITHOUT_PSDK
in lib/config-win32.h, although absolutely discouraged and unsupported,
this will allow the die hard MSVC hacker to build in such a discouraged
environment.

The actually supported 'fix' is to install 'February 2003 Platform SDK'
a.k.a. 'Windows Server 2003 PSDK' which can be freely downloaded from
http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdk-full.htm
lib/setup.h