Skip to content

Commit

Permalink
[Windows] DLL.hpp で <Windows.h> をインクルードする前に # define NOGDI #1120
Browse files Browse the repository at this point in the history
  • Loading branch information
Reputeless committed Nov 13, 2023
1 parent 11a69d9 commit 0c69f58
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions Siv3D/include/Siv3D/DLL.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

# if SIV3D_PLATFORM(WINDOWS)

# define NOGDI
# include <Siv3D/Windows/Windows.hpp>

namespace s3d
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
//-----------------------------------------------

# include <Siv3D/Error.hpp>
# include <Siv3D/DLL.hpp>
# include <Siv3D/EngineLog.hpp>
# include "CAudioCodec.hpp"
# include "MFRenderStream.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
//
//-----------------------------------------------

# include <Siv3D/DLL.hpp>
# include <Siv3D/Window.hpp>
# include <Siv3D/WindowState.hpp>
# include <Siv3D/EngineLog.hpp>
# include "D3D11SwapChain.hpp"
# include <Siv3D/DLL.hpp>
# include <dwmapi.h>
# include <VersionHelpers.h>

Expand Down

0 comments on commit 0c69f58

Please sign in to comment.