Skip to content

Commit

Permalink
Rename Windows.h to windows.h for mingw-w64 (#63)
Browse files Browse the repository at this point in the history
Co-authored-by: Reza Housseini <reza.housseini@mecos.com>
  • Loading branch information
rezahousseini and Reza Housseini authored Sep 30, 2020
1 parent 248e603 commit aca6327
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/utf8_console.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

#include <iostream>
#ifdef _WIN32
#include <Windows.h>
#include <windows.h>
#endif

inline void init_utf8_console() noexcept
Expand Down
2 changes: 1 addition & 1 deletion include/toml++/toml_default_formatter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ TOML_NAMESPACE_END
#if TOML_WINDOWS_COMPAT

TOML_DISABLE_WARNINGS
#include <Windows.h> // fuckkkk :(
#include <windows.h> // fuckkkk :(
TOML_ENABLE_WARNINGS

TOML_IMPL_NAMESPACE_START
Expand Down
2 changes: 1 addition & 1 deletion tests/manipulating_values.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#ifdef _WIN32
TOML_DISABLE_WARNINGS
#include <Windows.h>
#include <windows.h>
TOML_ENABLE_WARNINGS
#endif

Expand Down
2 changes: 1 addition & 1 deletion tests/windows_compat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#if TOML_WINDOWS_COMPAT

TOML_DISABLE_WARNINGS
#include <Windows.h>
#include <windows.h>
TOML_ENABLE_WARNINGS

TEST_CASE("windows compat")
Expand Down
2 changes: 1 addition & 1 deletion toml.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8387,7 +8387,7 @@ TOML_NAMESPACE_END
#if TOML_WINDOWS_COMPAT

TOML_DISABLE_WARNINGS
#include <Windows.h> // fuckkkk :(
#include <windows.h> // fuckkkk :(
TOML_ENABLE_WARNINGS

TOML_IMPL_NAMESPACE_START
Expand Down

0 comments on commit aca6327

Please sign in to comment.