File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ extern void initparser(void);
5252extern void init_winreg (void );
5353extern void init_struct (void );
5454extern void initdatetime (void );
55+ extern void init_fileio (void );
5556extern void init_functools (void );
5657extern void initzlib (void );
5758
@@ -129,6 +130,7 @@ struct _inittab _PyImport_Inittab[] = {
129130 {"_winreg" , init_winreg },
130131 {"_struct" , init_struct },
131132 {"datetime" , initdatetime },
133+ {"_fileio" , init_fileio },
132134 {"_functools" , init_functools },
133135
134136 {"xxsubtype" , initxxsubtype },
Original file line number Diff line number Diff line change @@ -207,12 +207,13 @@ typedef _W64 int ssize_t;
207207#endif /* MS_WIN32 && !MS_WIN64 */
208208
209209typedef int pid_t ;
210- #define hypot _hypot
211210
212211#include <float.h>
213212#define Py_IS_NAN _isnan
214213#define Py_IS_INFINITY (X ) (!_finite(X) && !_isnan(X))
215214#define Py_IS_FINITE (X ) _finite(X)
215+ #define copysign _copysign
216+ #define hypot _hypot
216217
217218#endif /* _MSC_VER */
218219
@@ -392,7 +393,7 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
392393/* Fairly standard from here! */
393394
394395/* Define to 1 if you have the `copysign' function. */
395- /* #define HAVE_COPYSIGN 1*/
396+ #define HAVE_COPYSIGN 1
396397
397398/* Define to 1 if you have the `isinf' function. */
398399#define HAVE_ISINF 1
Original file line number Diff line number Diff line change 986986 RelativePath=" ..\Modules\_csv.c"
987987 >
988988 </File >
989+ <File
990+ RelativePath=" ..\Modules\_fileio.c"
991+ >
992+ </File >
989993 <File
990994 RelativePath=" ..\Modules\_functoolsmodule.c"
991995 >
You can’t perform that action at this time.
0 commit comments