mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
Stop including multiple windows headers when we use pch
This commit is contained in:
parent
982b4e348f
commit
652c01e25c
|
|
@ -18,8 +18,6 @@
|
|||
#endif
|
||||
|
||||
#ifdef _WINDOWS64
|
||||
|
||||
#include <windows.h>
|
||||
#include "Xbox\Resource.h"
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -26,15 +26,10 @@
|
|||
|
||||
#define GDRAW_ASSERTS
|
||||
|
||||
#ifndef WIN32_LEAN_AND_MEAN
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#endif
|
||||
|
||||
// We temporarily disable this warning for the shared interface portions
|
||||
#pragma warning (push)
|
||||
#pragma warning (disable: 4201) // nonstandard extension used : nameless struct/union
|
||||
|
||||
#include <windows.h>
|
||||
#include <d3d11_x.h> // 4J changed to use monolithic version
|
||||
#include "gdraw.h"
|
||||
#include "iggy.h"
|
||||
|
|
|
|||
|
|
@ -26,15 +26,10 @@
|
|||
|
||||
#define GDRAW_ASSERTS
|
||||
|
||||
#ifndef WIN32_LEAN_AND_MEAN
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#endif
|
||||
|
||||
// We temporarily disable this warning for the shared interface portions
|
||||
#pragma warning (push)
|
||||
#pragma warning (disable: 4201) // nonstandard extension used : nameless struct/union
|
||||
|
||||
#include <windows.h>
|
||||
#include <d3d11.h>
|
||||
#include "gdraw.h"
|
||||
#include "iggy.h"
|
||||
|
|
|
|||
|
|
@ -2,8 +2,6 @@
|
|||
|
||||
#ifdef _WINDOWS64
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
class KeyboardMouseInput
|
||||
{
|
||||
public:
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@
|
|||
#ifdef _WINDOWS64
|
||||
#define _HAS_STD_BYTE 0 // solve (std::)'byte' ambiguity with windows headers
|
||||
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
|
||||
#define NOMINMAX // Exclude min/max macros from Windows headers
|
||||
// Windows Header Files:
|
||||
#include <malloc.h>
|
||||
#include <tchar.h>
|
||||
|
|
@ -139,6 +140,7 @@ typedef XUID GameSessionUID;
|
|||
#include <sstream>
|
||||
#include <iostream>
|
||||
#include <exception>
|
||||
#include <mutex>
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@
|
|||
#ifdef _WINDOWS64
|
||||
#define _HAS_STD_BYTE 0 // solve (std::)'byte' ambiguity with windows headers
|
||||
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
|
||||
#define NOMINMAX // Exclude min/max macros from Windows headers
|
||||
// Windows Header Files:
|
||||
#include <windows.h>
|
||||
#include <malloc.h>
|
||||
|
|
@ -105,6 +106,7 @@ typedef XUID GameSessionUID;
|
|||
#include <sstream>
|
||||
#include <iostream>
|
||||
#include <exception>
|
||||
#include <array>
|
||||
|
||||
#ifndef __PS3__ // the PS3 lib assert is rubbish, and aborts the code, we define our own in PS3Types.h
|
||||
#include <assert.h>
|
||||
|
|
|
|||
|
|
@ -1,10 +1,6 @@
|
|||
#include "stdafx.h"
|
||||
#include "lce_filesystem.h"
|
||||
|
||||
#ifdef _WINDOWS64
|
||||
#include <windows.h>
|
||||
#endif // TODO: More os' filesystem handling for when the project moves away from only Windows
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
bool FileOrDirectoryExists(const char* path)
|
||||
|
|
|
|||
Loading…
Reference in a new issue