mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-22 06:06:50 +00:00
36 lines
725 B
C
36 lines
725 B
C
//========= 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
|