]> granicus.if.org Git - python/commit
Some help for SF 614770: MSVC 7.0 compiler support
authorTim Peters <tim.peters@gmail.com>
Mon, 11 Nov 2002 19:44:39 +0000 (19:44 +0000)
committerTim Peters <tim.peters@gmail.com>
Mon, 11 Nov 2002 19:44:39 +0000 (19:44 +0000)
commit062843354f40511566dd23cbe331ead7d2756277
tree5b9bb0615483e7ae6d0285b713883c5363d7c945
parent01c04013a79555ce82dcaab7dc0907f3b4b28034
Some help for SF 614770:  MSVC 7.0 compiler support

This changes sys.version under Microsoft builds to include the MS compiler
version number (_MSC_VER).  Since VC 6 and VC 7 are apparently
incompatible, and both can be installed on a single box, distutils needs
some way to figure out which version of MSVC a given Python was compiled
under.

As also suggested by MvL, got rid of #ifdef'ery for the defunct _M_ALPHA
target.

Bugfix candidate?  Hard to say.  As far as I'm concerned, VC 7 wasn't
a supported platform in the 2.2 line.  If somebody thinks it should be,
they can do the work.
PC/pyconfig.h