[Python-checkins] r61965 - in python/trunk: PC/config.c PC/pyconfig.h PCbuild/pythoncore.vcproj

christian.heimes python-checkins at python.org
Thu Mar 27 02:36:38 CET 2008


Author: christian.heimes
Date: Thu Mar 27 02:36:21 2008
New Revision: 61965

Modified:
   python/trunk/PC/config.c
   python/trunk/PC/pyconfig.h
   python/trunk/PCbuild/pythoncore.vcproj
Log:
Hopefully added _fileio module to the Windows build system

Modified: python/trunk/PC/config.c
==============================================================================
--- python/trunk/PC/config.c	(original)
+++ python/trunk/PC/config.c	Thu Mar 27 02:36:21 2008
@@ -52,6 +52,7 @@
 extern void init_winreg(void);
 extern void init_struct(void);
 extern void initdatetime(void);
+extern void init_fileio(void);
 extern void init_functools(void);
 extern void initzlib(void);
 
@@ -129,6 +130,7 @@
 	{"_winreg", init_winreg},
 	{"_struct", init_struct},
 	{"datetime", initdatetime},
+	{"_fileio", init_fileio},
 	{"_functools", init_functools},
 
 	{"xxsubtype", initxxsubtype},

Modified: python/trunk/PC/pyconfig.h
==============================================================================
--- python/trunk/PC/pyconfig.h	(original)
+++ python/trunk/PC/pyconfig.h	Thu Mar 27 02:36:21 2008
@@ -207,12 +207,13 @@
 #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 @@
 /* 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

Modified: python/trunk/PCbuild/pythoncore.vcproj
==============================================================================
--- python/trunk/PCbuild/pythoncore.vcproj	(original)
+++ python/trunk/PCbuild/pythoncore.vcproj	Thu Mar 27 02:36:21 2008
@@ -987,6 +987,10 @@
 				>
 			</File>
 			<File
+				RelativePath="..\Modules\_fileio.c"
+				>
+			</File>
+			<File
 				RelativePath="..\Modules\_functoolsmodule.c"
 				>
 			</File>


More information about the Python-checkins mailing list