summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2012-04-12 23:38:25 (GMT)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2012-04-12 23:38:25 (GMT)
commit78f85fcd1f360aa292c5f35689f7b05daa0c1ed5 (patch)
tree64d3e27b6ff6bee0c147c2903723d1c843a54cf0
parent0d3db3a8157f38e6dc7ea69500069c86c0b40be7 (diff)
downloadcpython-78f85fcd1f360aa292c5f35689f7b05daa0c1ed5.zip
cpython-78f85fcd1f360aa292c5f35689f7b05daa0c1ed5.tar.gz
cpython-78f85fcd1f360aa292c5f35689f7b05daa0c1ed5.tar.bz2
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.
-rw-r--r--PC/VC6/pythoncore.dsp4
-rw-r--r--PC/VS7.1/pythoncore.vcproj3
-rw-r--r--PC/VS8.0/pythoncore.vcproj4
3 files changed, 11 insertions, 0 deletions
diff --git a/PC/VC6/pythoncore.dsp b/PC/VC6/pythoncore.dsp
index 4fe426a..4c3cd98 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 ea6ce78..230d2ef 100644
--- a/PC/VS7.1/pythoncore.vcproj
+++ b/PC/VS7.1/pythoncore.vcproj
@@ -767,6 +767,9 @@
RelativePath="..\..\Python\pythonrun.c">
</File>
<File
+ RelativePath="..\..\Python\random.c">
+ </File>
+ <File
RelativePath="..\..\Objects\rangeobject.c">
</File>
<File
diff --git a/PC/VS8.0/pythoncore.vcproj b/PC/VS8.0/pythoncore.vcproj
index f591967..c823226 100644
--- a/PC/VS8.0/pythoncore.vcproj
+++ b/PC/VS8.0/pythoncore.vcproj
@@ -1835,6 +1835,10 @@
>
</File>
<File
+ RelativePath="..\..\Python\random.c"
+ >
+ </File>
+ <File
RelativePath="..\..\Python\structmember.c"
>
</File>