Skip to content

Commit

Permalink
Access Windows via prerequisites
Browse files Browse the repository at this point in the history
  • Loading branch information
Twon committed Nov 3, 2024
1 parent 9bc129d commit 7ac6c87
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions libraries/core/src/morpheus/core/base/debugging.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include "morpheus/core/base/debugging.hpp"
#include "morpheus/core/base/platform.hpp"
#include "morpheus/core/base/prerequisites.hpp"

#include <boost/test/debug.hpp>

Expand Down
3 changes: 2 additions & 1 deletion libraries/core/src/morpheus/core/base/prerequisites.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
#if (MORPHEUS_BUILD_PLATFORM == MORPHEUS_TARGET_PLATFORM_PC_WINDOWS)
#define NOMINMAX
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
#include <windows.h> // Windows first as other Windows header depend on info defined here
// Windows first as other Windows header depend on info defined here
#include <windows.h> // IWYU pragma: export
#elif (MORPHEUS_BUILD_PLATFORM == MORPHEUS_TARGET_PLATFORM_APPLE)
#elif (MORPHEUS_BUILD_PLATFORM == MORPHEUS_TARGET_PLATFORM_LINUX)
#endif // #if (MORPHEUS_BUILD_PLATFORM==MORPHEUS_TARGET_PLATFORM_PC_WINDOWS)

0 comments on commit 7ac6c87

Please sign in to comment.