[Python-checkins] bpo-34217: Use lowercase for windows headers (GH-8472)

INADA Naoki webhook-mailer at python.org
Thu Aug 16 02:41:01 EDT 2018


https://github.com/python/cpython/commit/e6a4755e6793942b950c1595e0c34bd66a0ee13e
commit: e6a4755e6793942b950c1595e0c34bd66a0ee13e
branch: master
author: Erik Janssens <erik.janssens at conceptive.be>
committer: INADA Naoki <methane at users.noreply.github.com>
date: 2018-08-16T15:40:50+09:00
summary:

bpo-34217: Use lowercase for windows headers (GH-8472)

files:
M Modules/_io/_iomodule.c
M Modules/socketmodule.c
M Tools/msi/bundle/bootstrap/pch.h

diff --git a/Modules/_io/_iomodule.c b/Modules/_io/_iomodule.c
index 667446526a0b..0d8a638f40cf 100644
--- a/Modules/_io/_iomodule.c
+++ b/Modules/_io/_iomodule.c
@@ -21,7 +21,7 @@
 #endif /* HAVE_SYS_STAT_H */
 
 #ifdef MS_WINDOWS
-#include <Windows.h>
+#include <windows.h>
 #endif
 
 /* Various interned strings */
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index 30001754fe57..3a439c4bfadc 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -303,7 +303,7 @@ if_indextoname(index) -- return the corresponding interface name\n\
 # endif
 
 /* Provides the IsWindows7SP1OrGreater() function */
-#include <VersionHelpers.h>
+#include <versionhelpers.h>
 
 /* remove some flags on older version Windows during run-time.
    https://msdn.microsoft.com/en-us/library/windows/desktop/ms738596.aspx */
diff --git a/Tools/msi/bundle/bootstrap/pch.h b/Tools/msi/bundle/bootstrap/pch.h
index 6a66fa5a51eb..b0aa5111dabd 100644
--- a/Tools/msi/bundle/bootstrap/pch.h
+++ b/Tools/msi/bundle/bootstrap/pch.h
@@ -15,7 +15,7 @@
 
 #include <windows.h>
 #include <gdiplus.h>
-#include <Uxtheme.h>
+#include <uxtheme.h>
 #include <msiquery.h>
 #include <objbase.h>
 #include <shlobj.h>



More information about the Python-checkins mailing list