Skip to content

Commit

Permalink
SDL_syswm.h actually includes windows.h for us
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertBColton committed Jun 21, 2018
1 parent 04bc386 commit 8053083
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions ENIGMAsystem/SHELL/Platforms/General/PFmain.cpp
@@ -1,13 +1,8 @@
#if CURRENT_PLATFORM_ID == OS_WINDOWS && defined(ENIGMA_WS_SDL)
#include <windows.h> // for HWND trash
#endif

#include "PFmain.h"

#include "Platforms/platforms_mandatory.h"

#include "CompilerSource/OS_Switchboard.h"

#include "CompilerSource/OS_Switchboard.h" // <- must be at the tippy tippy top of CURRENT_PLATFORM_ID checks!
// MUST include this before unistd.h or else it errors
// and it's used to ensure that enigma::hWnd is available
// for all Win32-based extensions or systems, like
Expand Down

0 comments on commit 8053083

Please sign in to comment.