diff options
Diffstat (limited to 'PC')
-rw-r--r-- | PC/VC6/pythoncore.dsp | 4 | ||||
-rw-r--r-- | PC/VS7.1/pythoncore.vcproj | 3 | ||||
-rw-r--r-- | PC/VS8.0/pythoncore.vcproj | 4 | ||||
-rw-r--r-- | PC/pyconfig.h | 5 |
4 files changed, 14 insertions, 2 deletions
diff --git a/PC/VC6/pythoncore.dsp b/PC/VC6/pythoncore.dsp index de8860f..969e9df 100644 --- a/PC/VC6/pythoncore.dsp +++ b/PC/VC6/pythoncore.dsp @@ -587,6 +587,10 @@ SOURCE=..\..\Python\pyfpe.c # End Source File
# Begin Source File
+SOURCE=..\..\Python\pymath.c
+# End Source File
+# Begin Source File
+
SOURCE=..\..\Python\pystate.c
# End Source File
# Begin Source File
diff --git a/PC/VS7.1/pythoncore.vcproj b/PC/VS7.1/pythoncore.vcproj index 304b119..cc46faf 100644 --- a/PC/VS7.1/pythoncore.vcproj +++ b/PC/VS7.1/pythoncore.vcproj @@ -698,6 +698,9 @@ RelativePath="..\..\Python\pyfpe.c"> </File> <File + RelativePath="..\..\Python\pymath.c"> + </File> + <File RelativePath="..\..\Python\pystate.c"> </File> <File diff --git a/PC/VS8.0/pythoncore.vcproj b/PC/VS8.0/pythoncore.vcproj index b63ed88..6bc4715 100644 --- a/PC/VS8.0/pythoncore.vcproj +++ b/PC/VS8.0/pythoncore.vcproj @@ -1707,6 +1707,10 @@ >
</File>
<File
+ RelativePath="..\..\Python\pymath.c"
+ >
+ </File>
+ <File
RelativePath="..\..\Python\pystate.c"
>
</File>
diff --git a/PC/pyconfig.h b/PC/pyconfig.h index 4291192..e38e823 100644 --- a/PC/pyconfig.h +++ b/PC/pyconfig.h @@ -207,12 +207,13 @@ typedef _W64 int ssize_t; #endif /* MS_WIN32 && !MS_WIN64 */ typedef int pid_t; -#define hypot _hypot #include <float.h> #define Py_IS_NAN _isnan #define Py_IS_INFINITY(X) (!_finite(X) && !_isnan(X)) #define Py_IS_FINITE(X) _finite(X) +#define copysign _copysign +#define hypot _hypot #endif /* _MSC_VER */ @@ -392,7 +393,7 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */ /* Fairly standard from here! */ /* Define to 1 if you have the `copysign' function. */ -/* #define HAVE_COPYSIGN 1*/ +#define HAVE_COPYSIGN 1 /* Define to 1 if you have the `isinf' function. */ #define HAVE_ISINF 1 |