Skip to content

Commit

Permalink
include windows.h in cmall caps to silence clang nonportable warnings (
Browse files Browse the repository at this point in the history
…#313) - fixes #312
  • Loading branch information
suoniq authored and onqtam committed Dec 16, 2019
1 parent c80e679 commit 7cdd2bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doctest/parts/doctest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ DOCTEST_MAKE_STD_HEADERS_CLEAN_FROM_WARNINGS_ON_WALL_BEGIN
#ifdef __AFXDLL
#include <AfxWin.h>
#else
#include <Windows.h>
#include <windows.h>
#endif
#include <io.h>

Expand Down
2 changes: 1 addition & 1 deletion examples/executable_dll_and_plugin/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ TEST_CASE("executable") {
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
DOCTEST_MAKE_STD_HEADERS_CLEAN_FROM_WARNINGS_ON_WALL_BEGIN
#include <Windows.h>
#include <windows.h>
DOCTEST_MAKE_STD_HEADERS_CLEAN_FROM_WARNINGS_ON_WALL_END
#ifdef _MSC_VER
#define LoadDynamicLib(lib) LoadLibrary(lib ".dll")
Expand Down

0 comments on commit 7cdd2bf

Please sign in to comment.