diff options
author | Thomas Heller <theller@ctypes.org> | 2007-07-11 12:45:46 (GMT) |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2007-07-11 12:45:46 (GMT) |
commit | c6a55ee2a5739b2f98d970562d1e57013f129c50 (patch) | |
tree | 5e5749c037d5034de418093437fc3b1a2ab0acf6 /PC | |
parent | 90044275898f213456f522dbeb1affc9b2433308 (diff) | |
download | cpython-c6a55ee2a5739b2f98d970562d1e57013f129c50.zip cpython-c6a55ee2a5739b2f98d970562d1e57013f129c50.tar.gz cpython-c6a55ee2a5739b2f98d970562d1e57013f129c50.tar.bz2 |
See SF# 1751801: Windows: Add the _fileio builtin module, and undefine
HAVE_FTRUNCATE because ftruncate does not exist on Windows.
Diffstat (limited to 'PC')
-rw-r--r-- | PC/config.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/PC/config.c b/PC/config.c index 8ca8cef..68fa84f 100644 --- a/PC/config.c +++ b/PC/config.c @@ -59,6 +59,7 @@ extern void init_subprocess(void); extern void init_lsprof(void); extern void init_ast(void); extern void init_types(void); +extern void init_fileio(void); /* tools/freeze/makeconfig.py marker for additional "extern" */ /* -- ADDMODULE MARKER 1 -- */ @@ -145,6 +146,7 @@ struct _inittab _PyImport_Inittab[] = { {"sys", NULL}, {"_types", init_types}, + {"_fileio", init_fileio}, /* Sentinel */ {0, 0} |