Starting to remove windows.h includes from things.
This commit is contained in:
36
src/xenia/base/platform_win.h
Normal file
36
src/xenia/base/platform_win.h
Normal file
@@ -0,0 +1,36 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* Xenia : Xbox 360 Emulator Research Project *
|
||||
******************************************************************************
|
||||
* Copyright 2015 Ben Vanik. All rights reserved. *
|
||||
* Released under the BSD license - see LICENSE in the root for more details. *
|
||||
******************************************************************************
|
||||
*/
|
||||
|
||||
#ifndef XENIA_BASE_PLATFORM_WIN_H_
|
||||
#define XENIA_BASE_PLATFORM_WIN_H_
|
||||
|
||||
// NOTE: if you're including this file it means you are explicitly depending
|
||||
// on Windows-specific headers. This is bad for portability and should be
|
||||
// avoided!
|
||||
|
||||
#include "xenia/base/platform.h"
|
||||
|
||||
#ifndef WIN32_LEAN_AND_MEAN
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#endif
|
||||
#define NOMINMAX
|
||||
#include <SDKDDKVer.h>
|
||||
#include <windows.h>
|
||||
#include <ObjBase.h>
|
||||
#include <shellapi.h>
|
||||
#include <shlwapi.h>
|
||||
#include <shobjidl.h>
|
||||
#include <dwmapi.h>
|
||||
#include <tpcshrd.h>
|
||||
#include <windowsx.h>
|
||||
#undef DeleteBitmap
|
||||
#undef DeleteFile
|
||||
#undef GetFirstChild
|
||||
|
||||
#endif // XENIA_BASE_PLATFORM_WIN_H_
|
||||
Reference in New Issue
Block a user