source-engine/tier0/pch_tier0.h
2022-06-05 01:12:37 +03:00

62 lines
1.2 KiB
C++

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $Workfile: $
// $NoKeywords: $
//=============================================================================//
#if defined(_WIN32) && !defined(_X360)
#define WIN32_LEAN_AND_MEAN
// 0x0601 gives us access to Windows 7 features. We have to be careful not to
// depend on these features because we still support Windows XP.
#define _WIN32_WINNT 0x0601
#include <windows.h>
#include <assert.h>
#endif
// tier0
#include "tier0/basetypes.h"
#include "tier0/dbgflag.h"
#include "tier0/dbg.h"
#ifdef STEAM
#include "tier0/memhook.h"
#endif
#include "tier0/validator.h"
// First include standard libraries
#include "tier0/valve_off.h"
#include <stdio.h>
#include <ctype.h>
#include <math.h>
#ifdef OSX
#include <malloc/malloc.h>
#else
#include <malloc.h>
#endif
#include <memory.h>
#include <ctype.h>
#include <limits.h>
#include <assert.h>
#include "tier0/valve_minmax_off.h" // GCC 4.2.2 headers screw up our min/max defs.
#include <map>
#include "tier0/valve_minmax_on.h" // GCC 4.2.2 headers screw up our min/max defs.
#include <stddef.h>
#ifdef POSIX
#include <ctype.h>
#include <limits.h>
#define _MAX_PATH PATH_MAX
#endif
#include "tier0/valve_on.h"