]> granicus.if.org Git - python/commitdiff
Issue14559: Attempt to fix compilation with previous versions of the Microsoft Compiler.
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Thu, 12 Apr 2012 23:38:25 +0000 (01:38 +0200)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Thu, 12 Apr 2012 23:38:25 +0000 (01:38 +0200)
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.

PC/VC6/pythoncore.dsp
PC/VS7.1/pythoncore.vcproj
PC/VS8.0/pythoncore.vcproj

index 4fe426afc748970d2c32f13076882522ce27f8e7..4c3cd989e6f163027df1a6476aab76f67c517150 100644 (file)
@@ -663,6 +663,10 @@ SOURCE=..\..\Python\pythonrun.c
 # End Source File\r
 # Begin Source File\r
 \r
+SOURCE=..\..\Python\random.c\r
+# End Source File\r
+# Begin Source File\r
+\r
 SOURCE=..\..\Objects\rangeobject.c\r
 # End Source File\r
 # Begin Source File\r
index ea6ce78af2585131a8a986aff099c4e32fcdd6a9..230d2ef52c5f37e0b86393aa6759ecd7673189ac 100644 (file)
                <File\r
                        RelativePath="..\..\Python\pythonrun.c">\r
                </File>\r
+               <File\r
+                       RelativePath="..\..\Python\random.c">\r
+               </File>\r
                <File\r
                        RelativePath="..\..\Objects\rangeobject.c">\r
                </File>\r
index f591967919a7315bc126bc0670eb3fa1e699535b..c8232264b09ed91c796aa85340a8c880d8c77d52 100644 (file)
                                RelativePath="..\..\Python\pythonrun.c"\r
                                >\r
                        </File>\r
+                       <File\r
+                               RelativePath="..\..\Python\random.c"\r
+                               >\r
+                       </File>\r
                        <File\r
                                RelativePath="..\..\Python\structmember.c"\r
                                >\r