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

Miss Islington (bot) webhook-mailer at python.org
Thu Aug 16 03:29:24 EDT 2018


https://github.com/python/cpython/commit/bf8e9d18dd75f58ce3b9761763ae10c0800b43d8
commit: bf8e9d18dd75f58ce3b9761763ae10c0800b43d8
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018-08-16T03:29:20-04:00
summary:

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

(cherry picked from commit e6a4755e6793942b950c1595e0c34bd66a0ee13e)

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

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 c264d33b0b0f..ea01a286874b 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