diff Python/fileutils.c @ 84331:dfc020b4b123

If MS_WIN64 is defined, MS_WINDOWS is also defined: #ifdef can be simplified.
author Victor Stinner <victor.stinner@gmail.com>
date Tue, 25 Jun 2013 00:37:25 +0200
parents 88a21c5a97ef
children 18bb92b0c458
line wrap: on
line diff
--- a/Python/fileutils.c	Tue Jun 25 00:17:37 2013 +0200
+++ b/Python/fileutils.c	Tue Jun 25 00:37:25 2013 +0200
@@ -16,13 +16,13 @@
 PyObject *
 _Py_device_encoding(int fd)
 {
-#if defined(MS_WINDOWS) || defined(MS_WIN64)
+#if defined(MS_WINDOWS)
     UINT cp;
 #endif
     if (!_PyVerify_fd(fd) || !isatty(fd)) {
         Py_RETURN_NONE;
     }
-#if defined(MS_WINDOWS) || defined(MS_WIN64)
+#if defined(MS_WINDOWS)
     if (fd == 0)
         cp = GetConsoleCP();
     else if (fd == 1 || fd == 2)