[Python-checkins] bpo-34217: Use lowercase header for Windows (GH-8453)

Miss Islington (bot) webhook-mailer at python.org
Mon Jul 30 02:15:54 EDT 2018


https://github.com/python/cpython/commit/6c89a9a4c7d1804e16038f9ee3a0b2efaa4bdee6
commit: 6c89a9a4c7d1804e16038f9ee3a0b2efaa4bdee6
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018-07-29T23:15:51-07:00
summary:

bpo-34217: Use lowercase header for Windows (GH-8453)

(cherry picked from commit 6cf8255912c36fec6f87f62513034d0818f61390)

Co-authored-by: erikjanss <erik.janssens at conceptive.be>

files:
M Modules/socketmodule.h
M PC/getpathp.c

diff --git a/Modules/socketmodule.h b/Modules/socketmodule.h
index fdb4e871cef8..bce74c3da8fd 100644
--- a/Modules/socketmodule.h
+++ b/Modules/socketmodule.h
@@ -28,7 +28,7 @@
  * I use SIO_GET_MULTICAST_FILTER to detect a decent SDK.
  */
 # ifdef SIO_GET_MULTICAST_FILTER
-#  include <MSTcpIP.h> /* for SIO_RCVALL */
+#  include <mstcpip.h> /* for SIO_RCVALL */
 #  define HAVE_ADDRINFO
 #  define HAVE_SOCKADDR_STORAGE
 #  define HAVE_GETADDRINFO
diff --git a/PC/getpathp.c b/PC/getpathp.c
index 93828432ae3c..bc85b58abff1 100644
--- a/PC/getpathp.c
+++ b/PC/getpathp.c
@@ -89,7 +89,7 @@
 #endif
 
 #include <windows.h>
-#include <Shlwapi.h>
+#include <shlwapi.h>
 
 #ifdef HAVE_SYS_TYPES_H
 #include <sys/types.h>



More information about the Python-checkins mailing list