123
This commit is contained in:
94
Editor/StdAfx.h
Normal file
94
Editor/StdAfx.h
Normal file
@@ -0,0 +1,94 @@
|
||||
// stdafx.h : include file for standard system include files,
|
||||
// or project specific include files that are used frequently, but
|
||||
// are changed infrequently
|
||||
//
|
||||
|
||||
#if !defined(AFX_STDAFX_H__A218816E_DEE7_44B5_B7CA_D5BC4D8A56A7__INCLUDED_)
|
||||
#define AFX_STDAFX_H__A218816E_DEE7_44B5_B7CA_D5BC4D8A56A7__INCLUDED_
|
||||
|
||||
#if _MSC_VER > 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER > 1000
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// THIS MUST BE AT THE VERY BEGINING OF STDAFX.H FILE.
|
||||
// Disable STL threading support, (makes STL faster)
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
#define _NOTHREADS
|
||||
#define _STLP_NO_THREADS
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef VC_EXTRALEAN
|
||||
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
|
||||
#endif
|
||||
|
||||
// Modify the following defines if you have to target a platform prior to the ones specified below.
|
||||
// Refer to MSDN for the latest info on corresponding values for different platforms.
|
||||
#ifndef WINVER // Allow use of features specific to Windows 95 and Windows NT 4 or later.
|
||||
#define WINVER 0x0500 // Include Win98 / 2000 specific functions
|
||||
#endif
|
||||
|
||||
#ifndef _WIN32_WINNT // Allow use of features specific to Windows NT 4 or later.
|
||||
#define _WIN32_WINNT 0x0500 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
|
||||
#endif
|
||||
|
||||
#ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later.
|
||||
//#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later.
|
||||
#endif
|
||||
|
||||
#ifndef _WIN32_IE // Allow use of features specific to IE 4.0 or later.
|
||||
#define _WIN32_IE 0x0501 // Change this to the appropriate value to target IE 5.0 or later.
|
||||
#endif
|
||||
|
||||
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
|
||||
|
||||
// turns off MFC's hiding of some common and often safely ignored warning messages
|
||||
#define _AFX_ALL_WARNINGS
|
||||
|
||||
#include <afxwin.h> // MFC core and standard components
|
||||
#include <afxext.h> // MFC extensions
|
||||
#include <afxdlgs.h>
|
||||
|
||||
// MFC text conversions.
|
||||
#include <afxconv.h>
|
||||
|
||||
#ifndef _AFX_NO_AFXCMN_SUPPORT
|
||||
#include <afxcmn.h> // MFC support for Windows Common Controls
|
||||
#endif // _AFX_NO_AFXCMN_SUPPORT
|
||||
|
||||
// Shell Extensions.
|
||||
#include <Shlwapi.h>
|
||||
|
||||
#ifdef WIN64
|
||||
//#include <ObjBase.h>
|
||||
#include <atlbase.h>
|
||||
#endif
|
||||
|
||||
#ifdef _AMD64_
|
||||
#include <io.h>
|
||||
#include "mfc_amd64_fix.h"
|
||||
#endif
|
||||
|
||||
// Resource includes
|
||||
#include "Resource.h"
|
||||
|
||||
#ifdef _DEBUG
|
||||
|
||||
#ifndef WIN64
|
||||
#define CRTDBG_MAP_ALLOC
|
||||
#include <crtdbg.h>
|
||||
//#define calloc(s,t) _calloc_dbg(s, t, _NORMAL_BLOCK, __FILE__, __LINE__)
|
||||
//#define malloc(s) _malloc_dbg(s, _NORMAL_BLOCK, __FILE__, __LINE__)
|
||||
//#define realloc(p, s) _realloc_dbg(p, s, _NORMAL_BLOCK, __FILE__, __LINE__)
|
||||
#endif
|
||||
#endif //WIN64
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// Main Editor include.
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
#include "EditorDefs.h"
|
||||
|
||||
//{{AFX_INSERT_LOCATION}}
|
||||
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
||||
|
||||
#endif // !defined(AFX_STDAFX_H__A218816E_DEE7_44B5_B7CA_D5BC4D8A56A7__INCLUDED_)
|
||||
Reference in New Issue
Block a user