]> granicus.if.org Git - python/commitdiff
Issue #17591: Use lowercase filenames when including Windows header files.
authorAntoine Pitrou <solipsis@pitrou.net>
Sun, 31 Mar 2013 20:48:04 +0000 (22:48 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Sun, 31 Mar 2013 20:48:04 +0000 (22:48 +0200)
Patch by Roumen Petrov.

Misc/ACKS
Misc/NEWS
Modules/signalmodule.c
Objects/exceptions.c

index 21f2cd57f25f4812e8c27e748693c8d8cb0efa8c..7c7ad78d9f849ab98a80f156f558875fa2c9029d 100644 (file)
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -943,6 +943,7 @@ Tim Peters
 Benjamin Peterson
 Joe Peterson
 Chris Petrilli
+Roumen Petrov
 Bjorn Pettersen
 Justin D. Pettit
 Ronny Pfannschmidt
index 03b3c4f4276cd8018bfc1e26ccf79dcb7c8e18f6..9a64abbc63d7b89e255abab4c3f8a896e5c8c3ae 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -1163,6 +1163,9 @@ Tests
 Build
 -----
 
+- Issue #17591: Use lowercase filenames when including Windows header files.
+  Patch by Roumen Petrov.
+
 - Issue #17550: Fix the --enable-profiling configure switch.
 
 - Issue #17425: Build with openssl 1.0.1d on Windows.
index 0e9145070670e4ece9f4751913ebf3ad763da354..8b6c1c23886e94fc5b9f551b52f136da7e661994 100644 (file)
@@ -9,7 +9,7 @@
 #endif
 
 #ifdef MS_WINDOWS
-#include <Windows.h>
+#include <windows.h>
 #ifdef HAVE_PROCESS_H
 #include <process.h>
 #endif
index 6b04700621109bbe1825726d6b4ae0d4d2f214b1..79bbb8f2ff6d3053bb5c64fbbb38a115d17871d5 100644 (file)
@@ -2327,7 +2327,7 @@ PyObject *PyExc_RecursionErrorInst = NULL;
     }
 
 #ifdef MS_WINDOWS
-#include <Winsock2.h>
+#include <winsock2.h>
 /* The following constants were added to errno.h in VS2010 but have
    preferred WSA equivalents. */
 #undef EADDRINUSE