Kaydet (Commit) 94eba715 authored tarafından Amaury Forgeot d'Arc's avatar Amaury Forgeot d'Arc

Repair compilation for Visual Studio 2005.

I applied the same changes manually to VS7.1 and VC6 files; completely untested.

(Christian, don't try too hard merging this change into py3k.
It will be easier to do the same work again on the branch)
üst 41cf50d6
...@@ -5230,8 +5230,12 @@ init_socket(void) ...@@ -5230,8 +5230,12 @@ init_socket(void)
PyModule_AddIntConstant(m, "RCVALL_OFF", RCVALL_OFF); PyModule_AddIntConstant(m, "RCVALL_OFF", RCVALL_OFF);
PyModule_AddIntConstant(m, "RCVALL_ON", RCVALL_ON); PyModule_AddIntConstant(m, "RCVALL_ON", RCVALL_ON);
PyModule_AddIntConstant(m, "RCVALL_SOCKETLEVELONLY", RCVALL_SOCKETLEVELONLY); PyModule_AddIntConstant(m, "RCVALL_SOCKETLEVELONLY", RCVALL_SOCKETLEVELONLY);
#ifdef RCVALL_IPLEVEL
PyModule_AddIntConstant(m, "RCVALL_IPLEVEL", RCVALL_IPLEVEL); PyModule_AddIntConstant(m, "RCVALL_IPLEVEL", RCVALL_IPLEVEL);
#endif
#ifdef RCVALL_MAX
PyModule_AddIntConstant(m, "RCVALL_MAX", RCVALL_MAX); PyModule_AddIntConstant(m, "RCVALL_MAX", RCVALL_MAX);
#endif
#endif /* _MSTCPIP_ */ #endif /* _MSTCPIP_ */
/* Initialize gethostbyname lock */ /* Initialize gethostbyname lock */
......
...@@ -133,6 +133,10 @@ SOURCE=..\..\Modules\_csv.c ...@@ -133,6 +133,10 @@ SOURCE=..\..\Modules\_csv.c
# End Source File # End Source File
# Begin Source File # Begin Source File
SOURCE=..\..\Modules\_fileio.c
# End Source File
# Begin Source File
SOURCE=..\..\Modules\_functoolsmodule.c SOURCE=..\..\Modules\_functoolsmodule.c
# End Source File # End Source File
# Begin Source File # Begin Source File
...@@ -229,6 +233,14 @@ SOURCE=..\..\Objects\bufferobject.c ...@@ -229,6 +233,14 @@ SOURCE=..\..\Objects\bufferobject.c
# End Source File # End Source File
# Begin Source File # Begin Source File
SOURCE=..\..\Objects\bytesobject.c
# End Source File
# Begin Source File
SOURCE=..\..\Objects\bytes_methods.c
# End Source File
# Begin Source File
SOURCE=..\..\Objects\cellobject.c SOURCE=..\..\Objects\cellobject.c
# End Source File # End Source File
# Begin Source File # Begin Source File
...@@ -357,6 +369,10 @@ SOURCE=..\..\Python\future.c ...@@ -357,6 +369,10 @@ SOURCE=..\..\Python\future.c
# End Source File # End Source File
# Begin Source File # Begin Source File
SOURCE=..\..\Modules\future_builtins.c
# End Source File
# Begin Source File
SOURCE=..\..\Modules\gcmodule.c SOURCE=..\..\Modules\gcmodule.c
# End Source File # End Source File
# Begin Source File # Begin Source File
......
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
Name="VCCustomBuildTool"/> Name="VCCustomBuildTool"/>
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalDependencies="odbccp32.lib"
OutputFile="./_elementtree_d.pyd" OutputFile="./_elementtree_d.pyd"
LinkIncremental="1" LinkIncremental="1"
SuppressStartupBanner="TRUE" SuppressStartupBanner="TRUE"
...@@ -89,7 +88,6 @@ ...@@ -89,7 +88,6 @@
Name="VCCustomBuildTool"/> Name="VCCustomBuildTool"/>
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalDependencies="odbccp32.lib"
OutputFile="./_elementtree.pyd" OutputFile="./_elementtree.pyd"
LinkIncremental="1" LinkIncremental="1"
SuppressStartupBanner="TRUE" SuppressStartupBanner="TRUE"
...@@ -150,7 +148,6 @@ ...@@ -150,7 +148,6 @@
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalOptions=" /MACHINE:IA64 /USELINK:MS_SDK" AdditionalOptions=" /MACHINE:IA64 /USELINK:MS_SDK"
AdditionalDependencies="odbccp32.lib"
OutputFile="./_elementtree.pyd" OutputFile="./_elementtree.pyd"
LinkIncremental="1" LinkIncremental="1"
SuppressStartupBanner="TRUE" SuppressStartupBanner="TRUE"
...@@ -211,7 +208,6 @@ ...@@ -211,7 +208,6 @@
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalOptions=" /MACHINE:AMD64 /USELINK:MS_SDK" AdditionalOptions=" /MACHINE:AMD64 /USELINK:MS_SDK"
AdditionalDependencies="odbccp32.lib"
OutputFile="./_elementtree.pyd" OutputFile="./_elementtree.pyd"
LinkIncremental="1" LinkIncremental="1"
SuppressStartupBanner="TRUE" SuppressStartupBanner="TRUE"
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
Name="VCCustomBuildTool"/> Name="VCCustomBuildTool"/>
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalDependencies="..\..\..\tcltk\lib\tk84.lib ..\..\..\tcltk\lib\tcl84.lib odbccp32.lib" AdditionalDependencies="..\..\..\tcltk\lib\tk84.lib ..\..\..\tcltk\lib\tcl84.lib"
OutputFile="./_tkinter.pyd" OutputFile="./_tkinter.pyd"
LinkIncremental="1" LinkIncremental="1"
SuppressStartupBanner="TRUE" SuppressStartupBanner="TRUE"
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
Name="VCCustomBuildTool"/> Name="VCCustomBuildTool"/>
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalDependencies="..\..\..\tcltk\lib\tk84.lib ..\..\..\tcltk\lib\tcl84.lib odbccp32.lib" AdditionalDependencies="..\..\..\tcltk\lib\tk84.lib ..\..\..\tcltk\lib\tcl84.lib"
OutputFile="./_tkinter_d.pyd" OutputFile="./_tkinter_d.pyd"
LinkIncremental="1" LinkIncremental="1"
SuppressStartupBanner="TRUE" SuppressStartupBanner="TRUE"
...@@ -151,7 +151,7 @@ ...@@ -151,7 +151,7 @@
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalOptions=" /MACHINE:IA64 /USELINK:MS_SDK" AdditionalOptions=" /MACHINE:IA64 /USELINK:MS_SDK"
AdditionalDependencies="..\..\..\tcltk\lib\tk84.lib ..\..\..\tcltk\lib\tcl84.lib odbccp32.lib" AdditionalDependencies="..\..\..\tcltk\lib\tk84.lib ..\..\..\tcltk\lib\tcl84.lib"
OutputFile="./_tkinter.pyd" OutputFile="./_tkinter.pyd"
LinkIncremental="1" LinkIncremental="1"
SuppressStartupBanner="TRUE" SuppressStartupBanner="TRUE"
...@@ -213,7 +213,7 @@ ...@@ -213,7 +213,7 @@
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalOptions=" /MACHINE:AMD64 /USELINK:MS_SDK" AdditionalOptions=" /MACHINE:AMD64 /USELINK:MS_SDK"
AdditionalDependencies="..\..\..\tcltk\lib\tk84.lib ..\..\..\tcltk\lib\tcl84.lib odbccp32.lib" AdditionalDependencies="..\..\..\tcltk\lib\tk84.lib ..\..\..\tcltk\lib\tcl84.lib"
OutputFile="./_tkinter.pyd" OutputFile="./_tkinter.pyd"
LinkIncremental="1" LinkIncremental="1"
SuppressStartupBanner="TRUE" SuppressStartupBanner="TRUE"
......
...@@ -40,7 +40,6 @@ ...@@ -40,7 +40,6 @@
Outputs="..\..\PC\pythonnt_rc.h"/> Outputs="..\..\PC\pythonnt_rc.h"/>
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalDependencies="odbccp32.lib"
OutputFile=".\./make_versioninfo.exe" OutputFile=".\./make_versioninfo.exe"
LinkIncremental="1" LinkIncremental="1"
SuppressStartupBanner="TRUE" SuppressStartupBanner="TRUE"
...@@ -98,7 +97,6 @@ ...@@ -98,7 +97,6 @@
Outputs="..\..\PC\pythonnt_rc_d.h"/> Outputs="..\..\PC\pythonnt_rc_d.h"/>
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalDependencies="odbccp32.lib"
OutputFile="./make_versioninfo_d.exe" OutputFile="./make_versioninfo_d.exe"
LinkIncremental="1" LinkIncremental="1"
SuppressStartupBanner="TRUE" SuppressStartupBanner="TRUE"
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
Name="VCCustomBuildTool"/> Name="VCCustomBuildTool"/>
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalDependencies="odbccp32.lib"
OutputFile="./pyexpat_d.pyd" OutputFile="./pyexpat_d.pyd"
LinkIncremental="1" LinkIncremental="1"
SuppressStartupBanner="TRUE" SuppressStartupBanner="TRUE"
...@@ -88,7 +87,6 @@ ...@@ -88,7 +87,6 @@
Name="VCCustomBuildTool"/> Name="VCCustomBuildTool"/>
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalDependencies="odbccp32.lib"
OutputFile="./pyexpat.pyd" OutputFile="./pyexpat.pyd"
LinkIncremental="1" LinkIncremental="1"
SuppressStartupBanner="TRUE" SuppressStartupBanner="TRUE"
...@@ -149,7 +147,6 @@ ...@@ -149,7 +147,6 @@
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalOptions=" /MACHINE:IA64 /USELINK:MS_SDK" AdditionalOptions=" /MACHINE:IA64 /USELINK:MS_SDK"
AdditionalDependencies="odbccp32.lib"
OutputFile="./pyexpat.pyd" OutputFile="./pyexpat.pyd"
LinkIncremental="1" LinkIncremental="1"
SuppressStartupBanner="TRUE" SuppressStartupBanner="TRUE"
...@@ -210,7 +207,6 @@ ...@@ -210,7 +207,6 @@
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalOptions=" /MACHINE:AMD64 /USELINK:MS_SDK" AdditionalOptions=" /MACHINE:AMD64 /USELINK:MS_SDK"
AdditionalDependencies="odbccp32.lib"
OutputFile="./pyexpat.pyd" OutputFile="./pyexpat.pyd"
LinkIncremental="1" LinkIncremental="1"
SuppressStartupBanner="TRUE" SuppressStartupBanner="TRUE"
......
...@@ -36,7 +36,6 @@ ...@@ -36,7 +36,6 @@
Name="VCCustomBuildTool"/> Name="VCCustomBuildTool"/>
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalDependencies="odbccp32.lib"
OutputFile=".\./python.exe" OutputFile=".\./python.exe"
LinkIncremental="1" LinkIncremental="1"
SuppressStartupBanner="TRUE" SuppressStartupBanner="TRUE"
...@@ -93,7 +92,6 @@ ...@@ -93,7 +92,6 @@
Name="VCCustomBuildTool"/> Name="VCCustomBuildTool"/>
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalDependencies="odbccp32.lib"
OutputFile="./python_d.exe" OutputFile="./python_d.exe"
LinkIncremental="1" LinkIncremental="1"
SuppressStartupBanner="TRUE" SuppressStartupBanner="TRUE"
...@@ -158,7 +156,6 @@ ...@@ -158,7 +156,6 @@
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalOptions=" /MACHINE:IA64 /USELINK:MS_SDK /VSEXTCOMP_VERBOSE" AdditionalOptions=" /MACHINE:IA64 /USELINK:MS_SDK /VSEXTCOMP_VERBOSE"
AdditionalDependencies="odbccp32.lib"
OutputFile=".\./python.exe" OutputFile=".\./python.exe"
LinkIncremental="1" LinkIncremental="1"
SuppressStartupBanner="TRUE" SuppressStartupBanner="TRUE"
...@@ -222,7 +219,6 @@ ...@@ -222,7 +219,6 @@
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalOptions=" /MACHINE:AMD64 /USELINK:MS_SDK" AdditionalOptions=" /MACHINE:AMD64 /USELINK:MS_SDK"
AdditionalDependencies="odbccp32.lib"
OutputFile=".\./python.exe" OutputFile=".\./python.exe"
LinkIncremental="1" LinkIncremental="1"
SuppressStartupBanner="TRUE" SuppressStartupBanner="TRUE"
......
...@@ -367,6 +367,9 @@ ...@@ -367,6 +367,9 @@
<File <File
RelativePath="..\..\Modules\_csv.c"> RelativePath="..\..\Modules\_csv.c">
</File> </File>
<File
RelativePath="..\..\Modules\_fileio.c">
</File>
<File <File
RelativePath="..\..\Modules\_functoolsmodule.c"> RelativePath="..\..\Modules\_functoolsmodule.c">
</File> </File>
...@@ -436,6 +439,12 @@ ...@@ -436,6 +439,12 @@
<File <File
RelativePath="..\..\Objects\bufferobject.c"> RelativePath="..\..\Objects\bufferobject.c">
</File> </File>
<File
RelativePath="..\..\Objects\bytesobject.c">
</File>
<File
RelativePath="..\..\Objects\bytes_methods.c">
</File>
<File <File
RelativePath="..\..\Objects\cellobject.c"> RelativePath="..\..\Objects\cellobject.c">
</File> </File>
...@@ -532,6 +541,9 @@ ...@@ -532,6 +541,9 @@
<File <File
RelativePath="..\..\Python\future.c"> RelativePath="..\..\Python\future.c">
</File> </File>
<File
RelativePath="..\..\Modules\future_builtins.c">
</File>
<File <File
RelativePath="..\..\Modules\gcmodule.c"> RelativePath="..\..\Modules\gcmodule.c">
</File> </File>
...@@ -707,8 +719,7 @@ ...@@ -707,8 +719,7 @@
RelativePath="..\..\Python\pystate.c"> RelativePath="..\..\Python\pystate.c">
</File> </File>
<File <File
RelativePath="..\..\Python\pystrcmp.c" RelativePath="..\..\Python\pystrcmp.c">
>
</File> </File>
<File <File
RelativePath="..\..\Python\pystrtod.c"> RelativePath="..\..\Python\pystrtod.c">
......
...@@ -56,7 +56,6 @@ ...@@ -56,7 +56,6 @@
/> />
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalDependencies="odbccp32.lib"
BaseAddress="0x1D100000" BaseAddress="0x1D100000"
/> />
<Tool <Tool
...@@ -119,7 +118,6 @@ ...@@ -119,7 +118,6 @@
/> />
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalDependencies="odbccp32.lib"
BaseAddress="0x1D100000" BaseAddress="0x1D100000"
/> />
<Tool <Tool
...@@ -182,7 +180,6 @@ ...@@ -182,7 +180,6 @@
/> />
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalDependencies="odbccp32.lib"
BaseAddress="0x1D100000" BaseAddress="0x1D100000"
/> />
<Tool <Tool
...@@ -246,7 +243,6 @@ ...@@ -246,7 +243,6 @@
/> />
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalDependencies="odbccp32.lib"
BaseAddress="0x1D100000" BaseAddress="0x1D100000"
/> />
<Tool <Tool
...@@ -309,7 +305,6 @@ ...@@ -309,7 +305,6 @@
/> />
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalDependencies="odbccp32.lib"
BaseAddress="0x1D100000" BaseAddress="0x1D100000"
/> />
<Tool <Tool
...@@ -373,7 +368,6 @@ ...@@ -373,7 +368,6 @@
/> />
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalDependencies="odbccp32.lib"
BaseAddress="0x1D100000" BaseAddress="0x1D100000"
TargetMachine="17" TargetMachine="17"
/> />
...@@ -437,7 +431,6 @@ ...@@ -437,7 +431,6 @@
/> />
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalDependencies="odbccp32.lib"
BaseAddress="0x1D100000" BaseAddress="0x1D100000"
/> />
<Tool <Tool
...@@ -501,7 +494,6 @@ ...@@ -501,7 +494,6 @@
/> />
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalDependencies="odbccp32.lib"
BaseAddress="0x1D100000" BaseAddress="0x1D100000"
TargetMachine="17" TargetMachine="17"
/> />
......
...@@ -67,7 +67,6 @@ ...@@ -67,7 +67,6 @@
/> />
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalDependencies="odbccp32.lib"
OutputFile="$(SolutionDir)make_versioninfo.exe" OutputFile="$(SolutionDir)make_versioninfo.exe"
ProgramDatabaseFile="$(TargetDir)$(TargetName).pdb" ProgramDatabaseFile="$(TargetDir)$(TargetName).pdb"
SubSystem="1" SubSystem="1"
...@@ -211,7 +210,6 @@ ...@@ -211,7 +210,6 @@
/> />
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalDependencies="odbccp32.lib"
OutputFile="$(SolutionDir)make_versioninfo_d.exe" OutputFile="$(SolutionDir)make_versioninfo_d.exe"
ProgramDatabaseFile="$(TargetDir)$(TargetName).pdb" ProgramDatabaseFile="$(TargetDir)$(TargetName).pdb"
SubSystem="1" SubSystem="1"
......
...@@ -62,7 +62,6 @@ ...@@ -62,7 +62,6 @@
/> />
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalDependencies="odbccp32.lib"
OutputFile="$(OutDir)\python.exe" OutputFile="$(OutDir)\python.exe"
SubSystem="1" SubSystem="1"
StackReserveSize="2000000" StackReserveSize="2000000"
...@@ -136,7 +135,6 @@ ...@@ -136,7 +135,6 @@
/> />
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalDependencies="odbccp32.lib"
OutputFile="$(OutDir)\python.exe" OutputFile="$(OutDir)\python.exe"
SubSystem="1" SubSystem="1"
StackReserveSize="2000000" StackReserveSize="2000000"
...@@ -211,7 +209,6 @@ ...@@ -211,7 +209,6 @@
/> />
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalDependencies="odbccp32.lib"
OutputFile="$(OutDir)\python_d.exe" OutputFile="$(OutDir)\python_d.exe"
SubSystem="1" SubSystem="1"
StackReserveSize="2000000" StackReserveSize="2000000"
...@@ -287,7 +284,6 @@ ...@@ -287,7 +284,6 @@
/> />
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalDependencies="odbccp32.lib"
OutputFile="$(OutDir)\python_d.exe" OutputFile="$(OutDir)\python_d.exe"
SubSystem="1" SubSystem="1"
StackReserveSize="2000000" StackReserveSize="2000000"
...@@ -360,7 +356,6 @@ ...@@ -360,7 +356,6 @@
/> />
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalDependencies="odbccp32.lib"
OutputFile="$(OutDir)\python.exe" OutputFile="$(OutDir)\python.exe"
SubSystem="1" SubSystem="1"
StackReserveSize="2000000" StackReserveSize="2000000"
...@@ -435,7 +430,6 @@ ...@@ -435,7 +430,6 @@
/> />
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalDependencies="odbccp32.lib"
OutputFile="$(OutDir)\python.exe" OutputFile="$(OutDir)\python.exe"
SubSystem="1" SubSystem="1"
StackReserveSize="2000000" StackReserveSize="2000000"
...@@ -510,7 +504,6 @@ ...@@ -510,7 +504,6 @@
/> />
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalDependencies="odbccp32.lib"
OutputFile="$(OutDir)\python.exe" OutputFile="$(OutDir)\python.exe"
SubSystem="1" SubSystem="1"
StackReserveSize="2000000" StackReserveSize="2000000"
...@@ -585,7 +578,6 @@ ...@@ -585,7 +578,6 @@
/> />
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalDependencies="odbccp32.lib"
OutputFile="$(OutDir)\python.exe" OutputFile="$(OutDir)\python.exe"
SubSystem="1" SubSystem="1"
StackReserveSize="2000000" StackReserveSize="2000000"
......
...@@ -654,6 +654,14 @@ ...@@ -654,6 +654,14 @@
RelativePath="..\..\Include\bufferobject.h" RelativePath="..\..\Include\bufferobject.h"
> >
</File> </File>
<File
RelativePath="..\..\Include\bytesobject.h"
>
</File>
<File
RelativePath="..\..\Include\bytes_methods.h"
>
</File>
<File <File
RelativePath="..\..\Include\cellobject.h" RelativePath="..\..\Include\cellobject.h"
> >
...@@ -978,6 +986,10 @@ ...@@ -978,6 +986,10 @@
RelativePath="..\..\Modules\_csv.c" RelativePath="..\..\Modules\_csv.c"
> >
</File> </File>
<File
RelativePath="..\..\Modules\_fileio.c"
>
</File>
<File <File
RelativePath="..\..\Modules\_functoolsmodule.c" RelativePath="..\..\Modules\_functoolsmodule.c"
> >
...@@ -1050,6 +1062,10 @@ ...@@ -1050,6 +1062,10 @@
RelativePath="..\..\Modules\errnomodule.c" RelativePath="..\..\Modules\errnomodule.c"
> >
</File> </File>
<File
RelativePath="..\..\Modules\future_builtins.c"
>
</File>
<File <File
RelativePath="..\..\Modules\gcmodule.c" RelativePath="..\..\Modules\gcmodule.c"
> >
...@@ -1342,6 +1358,14 @@ ...@@ -1342,6 +1358,14 @@
RelativePath="..\..\Objects\bufferobject.c" RelativePath="..\..\Objects\bufferobject.c"
> >
</File> </File>
<File
RelativePath="..\..\Objects\bytesobject.c"
>
</File>
<File
RelativePath="..\..\Objects\bytes_methods.c"
>
</File>
<File <File
RelativePath="..\..\Objects\cellobject.c" RelativePath="..\..\Objects\cellobject.c"
> >
...@@ -1627,11 +1651,11 @@ ...@@ -1627,11 +1651,11 @@
> >
</File> </File>
<File <File
RelativePath="..\Python\formatter_string.c" RelativePath="..\..\Python\formatter_string.c"
> >
</File> </File>
<File <File
RelativePath="..\Python\formatter_unicode.c" RelativePath="..\..\Python\formatter_unicode.c"
> >
</File> </File>
<File <File
......
...@@ -162,9 +162,15 @@ WIN32 is still required for the locale module. ...@@ -162,9 +162,15 @@ WIN32 is still required for the locale module.
#define Py_NTDDI NTDDI_WINXP #define Py_NTDDI NTDDI_WINXP
#else #else
/* Python 2.6+ requires Windows 2000 or greater */ /* Python 2.6+ requires Windows 2000 or greater */
#ifdef _WIN32_WINNT_WIN2K
#define Py_WINVER _WIN32_WINNT_WIN2K #define Py_WINVER _WIN32_WINNT_WIN2K
#else
#define Py_WINVER 0x0500
#endif
#ifdef NTDDI_WIN2KSP4
#define Py_NTDDI NTDDI_WIN2KSP4 #define Py_NTDDI NTDDI_WIN2KSP4
#endif #endif
#endif
/* We only set these values when building Python - we don't want to force /* We only set these values when building Python - we don't want to force
these values on extensions, as that will affect the prototypes and these values on extensions, as that will affect the prototypes and
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment