From 2a3a0303412af2517b91682281f96719e0b9be80 Mon Sep 17 00:00:00 2001 From: Radiant <69520693+RadiantUwU@users.noreply.github.com> Date: Tue, 3 Oct 2023 16:59:44 +0300 Subject: [PATCH] Rename Windows.h to windows.h (#1055) Make it able to compile on MingW Fixes #873. Co-authored-by: Radiant --- Analysis/src/TypedAllocator.cpp | 2 +- Ast/src/TimeTrace.cpp | 2 +- CLI/FileUtils.cpp | 2 +- CodeGen/src/CodeAllocator.cpp | 2 +- CodeGen/src/CodeBlockUnwind.cpp | 2 +- VM/src/lperf.cpp | 2 +- tests/main.cpp | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Analysis/src/TypedAllocator.cpp b/Analysis/src/TypedAllocator.cpp index 4dc26219..a2f49afb 100644 --- a/Analysis/src/TypedAllocator.cpp +++ b/Analysis/src/TypedAllocator.cpp @@ -10,7 +10,7 @@ #ifndef NOMINMAX #define NOMINMAX #endif -#include +#include const size_t kPageSize = 4096; #else diff --git a/Ast/src/TimeTrace.cpp b/Ast/src/TimeTrace.cpp index 9373fa95..bc3f3538 100644 --- a/Ast/src/TimeTrace.cpp +++ b/Ast/src/TimeTrace.cpp @@ -15,7 +15,7 @@ #ifndef NOMINMAX #define NOMINMAX #endif -#include +#include #endif #ifdef __APPLE__ diff --git a/CLI/FileUtils.cpp b/CLI/FileUtils.cpp index 39a14ec7..71e536c7 100644 --- a/CLI/FileUtils.cpp +++ b/CLI/FileUtils.cpp @@ -10,7 +10,7 @@ #ifndef NOMINMAX #define NOMINMAX #endif -#include +#include #else #include #include diff --git a/CodeGen/src/CodeAllocator.cpp b/CodeGen/src/CodeAllocator.cpp index 84e48a1b..50c60fac 100644 --- a/CodeGen/src/CodeAllocator.cpp +++ b/CodeGen/src/CodeAllocator.cpp @@ -13,7 +13,7 @@ #ifndef NOMINMAX #define NOMINMAX #endif -#include +#include const size_t kPageSize = 4096; #else diff --git a/CodeGen/src/CodeBlockUnwind.cpp b/CodeGen/src/CodeBlockUnwind.cpp index 5c711b4a..f883d6e3 100644 --- a/CodeGen/src/CodeBlockUnwind.cpp +++ b/CodeGen/src/CodeBlockUnwind.cpp @@ -15,7 +15,7 @@ #ifndef NOMINMAX #define NOMINMAX #endif -#include +#include #elif defined(__linux__) || defined(__APPLE__) diff --git a/VM/src/lperf.cpp b/VM/src/lperf.cpp index 5df22bb0..67befee4 100644 --- a/VM/src/lperf.cpp +++ b/VM/src/lperf.cpp @@ -9,7 +9,7 @@ #ifndef NOMINMAX #define NOMINMAX #endif -#include +#include #endif #ifdef __APPLE__ diff --git a/tests/main.cpp b/tests/main.cpp index 26981926..72695fb5 100644 --- a/tests/main.cpp +++ b/tests/main.cpp @@ -15,7 +15,7 @@ #ifndef NOMINMAX #define NOMINMAX #endif -#include // IsDebuggerPresent +#include // IsDebuggerPresent #endif #ifdef __APPLE__