Merged revisions 73603 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73603 | hirokazu.yamamoto | 2009-06-28 19:23:00 +0900 | 1 line
Issue #4856: Remove checks for win NT.
........
diff --git a/Modules/_io/fileio.c b/Modules/_io/fileio.c
index b21712c..4e7c721 100644
--- a/Modules/_io/fileio.c
+++ b/Modules/_io/fileio.c
@@ -224,11 +224,8 @@
}
#ifdef MS_WINDOWS
- if (GetVersion() < 0x80000000) {
- /* On NT, so wide API available */
- if (PyUnicode_Check(nameobj))
- widename = PyUnicode_AS_UNICODE(nameobj);
- }
+ if (PyUnicode_Check(nameobj))
+ widename = PyUnicode_AS_UNICODE(nameobj);
if (widename == NULL)
#endif
if (fd < 0)