mirror of
https://github.com/dhewm/dhewm3.git
synced 2024-11-26 06:11:26 +00:00
Fix MSVC + Tools build
afxv_w32.h (apparently included indirectly viw edit_gui_common.h) complained that windows.h (included indirectly via DebuggerServer.h -> platform.h) was included first, apparently that's not allowed.. this was broken by the recent "fix mingw build" commit; now hopefully both work (MinGW doesn't support building the tools, because they need MFC which only works with MSVC)
This commit is contained in:
parent
dee76dbb21
commit
2de8c22f3b
2 changed files with 6 additions and 2 deletions
|
@ -28,12 +28,14 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "DebuggerServer.h"
|
||||
|
||||
|
||||
#if defined( ID_ALLOW_TOOLS )
|
||||
#include "tools/edit_gui_common.h"
|
||||
#include "DebuggerServer.h"
|
||||
#include "DebuggerApp.h"
|
||||
#else
|
||||
#include "DebuggerServer.h"
|
||||
#include "debugger_common.h"
|
||||
// we need a lot to be able to list all threads in mars_city1
|
||||
const int MAX_MSGLEN = 8600;
|
||||
|
|
|
@ -26,13 +26,15 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "DebuggerServer.h"
|
||||
|
||||
|
||||
#if defined( ID_ALLOW_TOOLS )
|
||||
#include "tools/edit_gui_common.h"
|
||||
#include "DebuggerServer.h"
|
||||
#include "../../sys/win32/rc/debugger_resource.h"
|
||||
#include "DebuggerApp.h"
|
||||
#else
|
||||
#include "DebuggerServer.h"
|
||||
#include "debugger_common.h"
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue