Convert Windows header names to lowercase

PR #19465.
This commit is contained in:
Victor Chernyakin 2023-08-16 00:29:13 -07:00 committed by GitHub
parent 21b77cb4f8
commit f3f4610ba4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 19 additions and 19 deletions

View file

@ -342,7 +342,7 @@ Example:
// System headers // System headers
#ifdef Q_OS_WIN #ifdef Q_OS_WIN
#include <Windows.h> #include <windows.h>
#endif #endif
// Boost library headers // Boost library headers

View file

@ -37,8 +37,8 @@
#ifdef Q_OS_WIN #ifdef Q_OS_WIN
#include <memory> #include <memory>
#include <Windows.h> #include <windows.h>
#include <Shellapi.h> #include <shellapi.h>
#elif defined(Q_OS_UNIX) #elif defined(Q_OS_UNIX)
#include <sys/resource.h> #include <sys/resource.h>
#endif #endif

View file

@ -71,7 +71,7 @@
#include <QtSystemDetection> #include <QtSystemDetection>
#if defined(Q_OS_WIN) #if defined(Q_OS_WIN)
#include <Windows.h> #include <windows.h>
#endif #endif
#include <QDataStream> #include <QDataStream>

View file

@ -37,7 +37,7 @@
#include <string> #include <string>
#ifdef Q_OS_WIN #ifdef Q_OS_WIN
#include <Windows.h> #include <windows.h>
#include <wincrypt.h> #include <wincrypt.h>
#include <iphlpapi.h> #include <iphlpapi.h>
#endif #endif

View file

@ -41,7 +41,7 @@
#include <sys/types.h> #include <sys/types.h>
#if defined(Q_OS_WIN) #if defined(Q_OS_WIN)
#include <Windows.h> #include <windows.h>
#elif defined(Q_OS_MACOS) || defined(Q_OS_FREEBSD) || defined(Q_OS_OPENBSD) #elif defined(Q_OS_MACOS) || defined(Q_OS_FREEBSD) || defined(Q_OS_OPENBSD)
#include <sys/param.h> #include <sys/param.h>
#include <sys/mount.h> #include <sys/mount.h>

View file

@ -35,7 +35,7 @@
#include <windows.h> #include <windows.h>
#include <powrprof.h> #include <powrprof.h>
#include <Shlobj.h> #include <shlobj.h>
#else #else
#include <sys/types.h> #include <sys/types.h>
#include <unistd.h> #include <unistd.h>

View file

@ -31,7 +31,7 @@
#include <QtSystemDetection> #include <QtSystemDetection>
#ifdef Q_OS_WIN #ifdef Q_OS_WIN
#include <Windows.h> #include <windows.h>
#endif #endif
#include <QString> #include <QString>

View file

@ -33,8 +33,8 @@
#include <QtSystemDetection> #include <QtSystemDetection>
#ifdef Q_OS_WIN #ifdef Q_OS_WIN
#include <Windows.h> #include <windows.h>
#include <Ntsecapi.h> #include <ntsecapi.h>
#else // Q_OS_WIN #else // Q_OS_WIN
#include <cerrno> #include <cerrno>
#include <cstdio> #include <cstdio>

View file

@ -35,8 +35,8 @@
#include <chrono> #include <chrono>
#if defined(Q_OS_WIN) #if defined(Q_OS_WIN)
#include <Windows.h> #include <windows.h>
#include <versionhelpers.h> // must follow after Windows.h #include <versionhelpers.h> // must follow after windows.h
#endif #endif
#include <QAction> #include <QAction>

View file

@ -32,8 +32,8 @@
#include <QtSystemDetection> #include <QtSystemDetection>
#if defined(Q_OS_WIN) #if defined(Q_OS_WIN)
#include <Windows.h> #include <windows.h>
#include <versionhelpers.h> // must follow after Windows.h #include <versionhelpers.h> // must follow after windows.h
#endif #endif
#include <QDebug> #include <QDebug>

View file

@ -38,8 +38,8 @@
#include <QScopeGuard> #include <QScopeGuard>
#if defined(Q_OS_WIN) #if defined(Q_OS_WIN)
#include <Windows.h> #include <windows.h>
#include <Shellapi.h> #include <shellapi.h>
#else #else
#include <QMimeDatabase> #include <QMimeDatabase>
#include <QMimeType> #include <QMimeType>

View file

@ -31,9 +31,9 @@
#include <QtSystemDetection> #include <QtSystemDetection>
#ifdef Q_OS_WIN #ifdef Q_OS_WIN
#include <Objbase.h> #include <objbase.h>
#include <Shlobj.h> #include <shlobj.h>
#include <Shellapi.h> #include <shellapi.h>
#endif #endif
#include <QApplication> #include <QApplication>