summaryrefslogtreecommitdiffstats
path: root/Modules/_io
diff options
context:
space:
mode:
authorHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>2009-05-17 04:21:53 (GMT)
committerHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>2009-05-17 04:21:53 (GMT)
commit8223c24d075357329970ee57a04a5d5fe09dbfde (patch)
tree2cd8938fc879bfe3e4b3056cd6c8908e36f1924d /Modules/_io
parent266c9905dfeb2b8bc12903fcb3a7fc66666e551a (diff)
downloadcpython-8223c24d075357329970ee57a04a5d5fe09dbfde.zip
cpython-8223c24d075357329970ee57a04a5d5fe09dbfde.tar.gz
cpython-8223c24d075357329970ee57a04a5d5fe09dbfde.tar.bz2
Merged revisions 72698-72699 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r72698 | hirokazu.yamamoto | 2009-05-17 11:52:09 +0900 | 1 line Issue #3527: Removed Py_WIN_WIDE_FILENAMES which is not used any more. ........ r72699 | hirokazu.yamamoto | 2009-05-17 11:58:36 +0900 | 1 line Added NEWS for r72698. ........
Diffstat (limited to 'Modules/_io')
-rw-r--r--Modules/_io/fileio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_io/fileio.c b/Modules/_io/fileio.c
index d3a1cfb..9400c91 100644
--- a/Modules/_io/fileio.c
+++ b/Modules/_io/fileio.c
@@ -223,7 +223,7 @@ fileio_init(PyObject *oself, PyObject *args, PyObject *kwds)
PyErr_Clear();
}
-#ifdef Py_WIN_WIDE_FILENAMES
+#ifdef MS_WINDOWS
if (GetVersion() < 0x80000000) {
/* On NT, so wide API available */
if (PyUnicode_Check(nameobj))