Skip to content

Commit

Permalink
fix #623
Browse files Browse the repository at this point in the history
  • Loading branch information
mehah committed Nov 14, 2023
1 parent b2a54a5 commit 82ecd7c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
8 changes: 5 additions & 3 deletions src/framework/platform/win32platform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,13 @@

#ifdef WIN32

#include <shellapi.h>
#include "platform.h"

#include <tchar.h>
#include <framework/stdext/stdext.h>

#include "platform.h"
#ifdef NDEBUG
#include <shellapi.h>
#endif

void Platform::init(std::vector<std::string>& args)
{
Expand Down
6 changes: 4 additions & 2 deletions src/framework/platform/win32window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,17 @@

#ifdef WIN32

#include <timeapi.h>
#include "win32window.h"
#include <client/map.h>
#include <framework/core/application.h>
#include <framework/core/eventdispatcher.h>
#include <framework/core/resourcemanager.h>

#include <framework/graphics/image.h>

#ifdef NDEBUG
#include <timeapi.h>
#endif

#define HSB_BIT_SET(p, n) (p[(n)/8] |= (128 >>((n)%8)))

WIN32Window::WIN32Window()
Expand Down

0 comments on commit 82ecd7c

Please sign in to comment.