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

INADA Naoki webhook-mailer at python.org
Tue Jul 24 20:41:49 EDT 2018


https://github.com/python/cpython/commit/6cf8255912c36fec6f87f62513034d0818f61390
commit: 6cf8255912c36fec6f87f62513034d0818f61390
branch: master
author: erikjanss <erik.janssens at conceptive.be>
committer: INADA Naoki <methane at users.noreply.github.com>
date: 2018-07-25T09:41:46+09:00
summary:

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

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 e57893d85a16..ada02899966a 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