From aca6327cd8398e4a4944a6398ad4d35afb635616 Mon Sep 17 00:00:00 2001 From: rezahousseini Date: Wed, 30 Sep 2020 15:14:25 +0200 Subject: [PATCH] Rename Windows.h to windows.h for mingw-w64 (#63) Co-authored-by: Reza Housseini --- examples/utf8_console.h | 2 +- include/toml++/toml_default_formatter.hpp | 2 +- tests/manipulating_values.cpp | 2 +- tests/windows_compat.cpp | 2 +- toml.hpp | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/utf8_console.h b/examples/utf8_console.h index 7d330d4..2087edf 100644 --- a/examples/utf8_console.h +++ b/examples/utf8_console.h @@ -5,7 +5,7 @@ #include #ifdef _WIN32 -#include +#include #endif inline void init_utf8_console() noexcept diff --git a/include/toml++/toml_default_formatter.hpp b/include/toml++/toml_default_formatter.hpp index e1865a0..cf73f79 100644 --- a/include/toml++/toml_default_formatter.hpp +++ b/include/toml++/toml_default_formatter.hpp @@ -208,7 +208,7 @@ TOML_NAMESPACE_END #if TOML_WINDOWS_COMPAT TOML_DISABLE_WARNINGS -#include // fuckkkk :( +#include // fuckkkk :( TOML_ENABLE_WARNINGS TOML_IMPL_NAMESPACE_START diff --git a/tests/manipulating_values.cpp b/tests/manipulating_values.cpp index c69ace8..1a9fa35 100644 --- a/tests/manipulating_values.cpp +++ b/tests/manipulating_values.cpp @@ -7,7 +7,7 @@ #ifdef _WIN32 TOML_DISABLE_WARNINGS -#include +#include TOML_ENABLE_WARNINGS #endif diff --git a/tests/windows_compat.cpp b/tests/windows_compat.cpp index 8d6024b..a9c5fdd 100644 --- a/tests/windows_compat.cpp +++ b/tests/windows_compat.cpp @@ -8,7 +8,7 @@ #if TOML_WINDOWS_COMPAT TOML_DISABLE_WARNINGS -#include +#include TOML_ENABLE_WARNINGS TEST_CASE("windows compat") diff --git a/toml.hpp b/toml.hpp index 3d7614f..a3581e0 100644 --- a/toml.hpp +++ b/toml.hpp @@ -8387,7 +8387,7 @@ TOML_NAMESPACE_END #if TOML_WINDOWS_COMPAT TOML_DISABLE_WARNINGS -#include // fuckkkk :( +#include // fuckkkk :( TOML_ENABLE_WARNINGS TOML_IMPL_NAMESPACE_START