diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /public/winlite.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'public/winlite.h')
| -rw-r--r-- | public/winlite.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/public/winlite.h b/public/winlite.h new file mode 100644 index 0000000..c8fba07 --- /dev/null +++ b/public/winlite.h @@ -0,0 +1,35 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +// +//=============================================================================// + +#ifndef WINLITE_H +#define WINLITE_H +#pragma once + +#ifdef _WIN32 +// +// Prevent tons of unused windows definitions +// +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif +#define NOWINRES +#define NOSERVICE +#define NOMCX +#define NOIME +#if !defined( _X360 ) +#pragma warning(push, 1) +#pragma warning(disable: 4005) +#include <windows.h> +#pragma warning(pop) +#endif +#undef PostMessage + +#pragma warning( disable: 4800 ) // forcing value to bool 'true' or 'false' (performance warning) + +#endif // WIN32 +#endif // WINLITE_H |