[Python-checkins] cpython: Issue #17591: Use lowercase filenames when including Windows header files.
antoine.pitrou
python-checkins at python.org
Sun Mar 31 22:52:44 CEST 2013
http://hg.python.org/cpython/rev/58fcd81acfb1
changeset: 83043:58fcd81acfb1
user: Antoine Pitrou <solipsis at pitrou.net>
date: Sun Mar 31 22:48:04 2013 +0200
summary:
Issue #17591: Use lowercase filenames when including Windows header files.
Patch by Roumen Petrov.
files:
Misc/ACKS | 1 +
Misc/NEWS | 3 +++
Modules/signalmodule.c | 2 +-
Objects/exceptions.c | 2 +-
4 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/Misc/ACKS b/Misc/ACKS
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -943,6 +943,7 @@
Benjamin Peterson
Joe Peterson
Chris Petrilli
+Roumen Petrov
Bjorn Pettersen
Justin D. Pettit
Ronny Pfannschmidt
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -1163,6 +1163,9 @@
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.
diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c
--- a/Modules/signalmodule.c
+++ b/Modules/signalmodule.c
@@ -9,7 +9,7 @@
#endif
#ifdef MS_WINDOWS
-#include <Windows.h>
+#include <windows.h>
#ifdef HAVE_PROCESS_H
#include <process.h>
#endif
diff --git a/Objects/exceptions.c b/Objects/exceptions.c
--- a/Objects/exceptions.c
+++ b/Objects/exceptions.c
@@ -2327,7 +2327,7 @@
}
#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
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list