aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-01-24 01:05:45 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-01-24 01:08:51 +0300
commit6896fb06a42042b6ea91adeab5d9b1960bcfb156 (patch)
treee9efd808a96e0357aa155f0d7aac77abefdf306f /src
parentadd GitHub workflow (diff)
downloadprivilege-check-6896fb06a42042b6ea91adeab5d9b1960bcfb156.tar.gz
privilege-check-6896fb06a42042b6ea91adeab5d9b1960bcfb156.zip
Windows.h -> windows.h, for MinGW builds
Diffstat (limited to 'src')
-rw-r--r--src/cmd_line.hpp2
-rw-r--r--src/error.hpp2
-rw-r--r--src/handle.hpp2
-rw-r--r--src/main.cpp4
-rw-r--r--src/os.hpp2
-rw-r--r--src/process.cpp2
-rw-r--r--src/process.hpp2
-rw-r--r--src/resource.hpp2
-rw-r--r--src/sid.cpp2
-rw-r--r--src/sid.hpp2
-rw-r--r--src/token.cpp2
-rw-r--r--src/token.hpp2
12 files changed, 13 insertions, 13 deletions
diff --git a/src/cmd_line.hpp b/src/cmd_line.hpp
index 18ea496..ae96ed5 100644
--- a/src/cmd_line.hpp
+++ b/src/cmd_line.hpp
@@ -8,7 +8,7 @@
#include "error.hpp"
#include "string.hpp"
-#include <Windows.h>
+#include <windows.h>
#include <shellapi.h>
#include <cstddef>
diff --git a/src/error.hpp b/src/error.hpp
index 40522bb..04ec8c9 100644
--- a/src/error.hpp
+++ b/src/error.hpp
@@ -5,7 +5,7 @@
#pragma once
-#include <Windows.h>
+#include <windows.h>
#include <exception>
#include <system_error>
diff --git a/src/handle.hpp b/src/handle.hpp
index 99b5292..4bc0a97 100644
--- a/src/handle.hpp
+++ b/src/handle.hpp
@@ -5,7 +5,7 @@
#pragma once
-#include <Windows.h>
+#include <windows.h>
#include <cassert>
diff --git a/src/main.cpp b/src/main.cpp
index 511cb02..4065a5e 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -11,8 +11,8 @@
#include "sid.hpp"
#include "token.hpp"
-#include <Windows.h>
-#include <CommCtrl.h>
+#include <commctrl.h>
+#include <windows.h>
#include <windowsx.h>
#include <exception>
diff --git a/src/os.hpp b/src/os.hpp
index 6734fb4..f6f169f 100644
--- a/src/os.hpp
+++ b/src/os.hpp
@@ -7,7 +7,7 @@
#include "error.hpp"
-#include <Windows.h>
+#include <windows.h>
namespace os
{
diff --git a/src/process.cpp b/src/process.cpp
index a0618fa..a2eddc0 100644
--- a/src/process.cpp
+++ b/src/process.cpp
@@ -7,7 +7,7 @@
#include "error.hpp"
#include "process.hpp"
-#include <Windows.h>
+#include <windows.h>
#include <shellapi.h>
#include <array>
diff --git a/src/process.hpp b/src/process.hpp
index 53fcdf8..c27dc3e 100644
--- a/src/process.hpp
+++ b/src/process.hpp
@@ -8,7 +8,7 @@
#include "error.hpp"
#include "cmd_line.hpp"
-#include <Windows.h>
+#include <windows.h>
#include <string>
diff --git a/src/resource.hpp b/src/resource.hpp
index a0f1cc3..6039fab 100644
--- a/src/resource.hpp
+++ b/src/resource.hpp
@@ -8,7 +8,7 @@
#include "error.hpp"
#include "process.hpp"
-#include <Windows.h>
+#include <windows.h>
#include <cstddef>
diff --git a/src/sid.cpp b/src/sid.cpp
index 879e4a7..7a0e252 100644
--- a/src/sid.cpp
+++ b/src/sid.cpp
@@ -6,7 +6,7 @@
#include "error.hpp"
#include "sid.hpp"
-#include <Windows.h>
+#include <windows.h>
#include <sddl.h>
#include <memory>
diff --git a/src/sid.hpp b/src/sid.hpp
index c84b725..2dc6111 100644
--- a/src/sid.hpp
+++ b/src/sid.hpp
@@ -5,7 +5,7 @@
#pragma once
-#include <Windows.h>
+#include <windows.h>
#include <sddl.h>
#include <array>
diff --git a/src/token.cpp b/src/token.cpp
index ca08e03..f7ad38e 100644
--- a/src/token.cpp
+++ b/src/token.cpp
@@ -8,7 +8,7 @@
#include "os.hpp"
#include "sid.hpp"
-#include <Windows.h>
+#include <windows.h>
#include <string>
#include <unordered_map>
diff --git a/src/token.hpp b/src/token.hpp
index 509a15c..5ad32bf 100644
--- a/src/token.hpp
+++ b/src/token.hpp
@@ -8,7 +8,7 @@
#include "handle.hpp"
#include "sid.hpp"
-#include <Windows.h>
+#include <windows.h>
#include <string>