Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
a82e8db5
Commit
a82e8db5
authored
Mar 27, 2008
by
Christian Heimes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hopefully added _fileio module to the Windows build system
parent
81135867
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
2 deletions
+9
-2
PC/config.c
PC/config.c
+2
-0
PC/pyconfig.h
PC/pyconfig.h
+3
-2
PCbuild/pythoncore.vcproj
PCbuild/pythoncore.vcproj
+4
-0
No files found.
PC/config.c
View file @
a82e8db5
...
...
@@ -52,6 +52,7 @@ extern void initparser(void);
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 @@ struct _inittab _PyImport_Inittab[] = {
{
"_winreg"
,
init_winreg
},
{
"_struct"
,
init_struct
},
{
"datetime"
,
initdatetime
},
{
"_fileio"
,
init_fileio
},
{
"_functools"
,
init_functools
},
{
"xxsubtype"
,
initxxsubtype
},
...
...
PC/pyconfig.h
View file @
a82e8db5
...
...
@@ -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
...
...
PCbuild/pythoncore.vcproj
View file @
a82e8db5
...
...
@@ -986,6 +986,10 @@
RelativePath=
"..\Modules\_csv.c"
>
</File>
<File
RelativePath=
"..\Modules\_fileio.c"
>
</File>
<File
RelativePath=
"..\Modules\_functoolsmodule.c"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment