You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.1 KiB
32 lines
1.1 KiB
5 years ago
|
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||
|
//
|
||
|
// Purpose: This turns on all Valve-specific #defines. Because we sometimes
|
||
|
// call external include files from inside .cpp files, we need to
|
||
|
// wrap those includes like this:
|
||
|
// #include "tier0/valve_off.h"
|
||
|
// #include <external.h>
|
||
|
// #include "tier0/valve_on.h"
|
||
|
//
|
||
|
// $NoKeywords: $
|
||
|
//=============================================================================//
|
||
|
|
||
|
|
||
|
#ifdef STEAM
|
||
|
//-----------------------------------------------------------------------------
|
||
|
// Unicode-related #defines (see wchartypes.h)
|
||
|
//-----------------------------------------------------------------------------
|
||
|
#ifdef ENFORCE_WCHAR
|
||
|
#define char DontUseChar_SeeWcharOn.h
|
||
|
#endif
|
||
|
|
||
|
|
||
|
//-----------------------------------------------------------------------------
|
||
|
// Memory-related #defines
|
||
|
//-----------------------------------------------------------------------------
|
||
|
#define malloc( cub ) HEY_DONT_USE_MALLOC_USE_PVALLOC
|
||
|
#define realloc( pvOld, cub ) HEY_DONT_USE_REALLOC_USE_PVREALLOC
|
||
|
#define _expand( pvOld, cub ) HEY_DONT_USE_EXPAND_USE_PVEXPAND
|
||
|
#define free( pv ) HEY_DONT_USE_FREE_USE_FREEPV
|
||
|
|
||
|
#endif
|