From: Amaury Forgeot d'Arc Date: Thu, 12 Apr 2012 23:38:25 +0000 (+0200) Subject: Issue14559: Attempt to fix compilation with previous versions of the Microsoft Compiler. X-Git-Tag: v2.7.4rc1~907^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=78f85fcd1f360aa292c5f35689f7b05daa0c1ed5;p=python Issue14559: Attempt to fix compilation with previous versions of the Microsoft Compiler. Update the various project files with Python/random.c which was recently added. On my old Windows XP computer: - VS8.0 works reasonably. - I don't have the VS7.1 compiler. - VC6 does not compile, at least with the SDK shipped with the compiler (12 years ago!); newer SDKs might work. --- diff --git a/PC/VC6/pythoncore.dsp b/PC/VC6/pythoncore.dsp index 4fe426afc7..4c3cd989e6 100644 --- a/PC/VC6/pythoncore.dsp +++ b/PC/VC6/pythoncore.dsp @@ -663,6 +663,10 @@ SOURCE=..\..\Python\pythonrun.c # End Source File # Begin Source File +SOURCE=..\..\Python\random.c +# End Source File +# Begin Source File + SOURCE=..\..\Objects\rangeobject.c # End Source File # Begin Source File diff --git a/PC/VS7.1/pythoncore.vcproj b/PC/VS7.1/pythoncore.vcproj index ea6ce78af2..230d2ef52c 100644 --- a/PC/VS7.1/pythoncore.vcproj +++ b/PC/VS7.1/pythoncore.vcproj @@ -766,6 +766,9 @@ + + diff --git a/PC/VS8.0/pythoncore.vcproj b/PC/VS8.0/pythoncore.vcproj index f591967919..c8232264b0 100644 --- a/PC/VS8.0/pythoncore.vcproj +++ b/PC/VS8.0/pythoncore.vcproj @@ -1834,6 +1834,10 @@ RelativePath="..\..\Python\pythonrun.c" > + +