Team Fortress 2 Source Code as on 22/4/2020
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.

35 lines
725 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //
  7. //=============================================================================//
  8. #ifndef WINLITE_H
  9. #define WINLITE_H
  10. #pragma once
  11. #ifdef _WIN32
  12. //
  13. // Prevent tons of unused windows definitions
  14. //
  15. #ifndef WIN32_LEAN_AND_MEAN
  16. #define WIN32_LEAN_AND_MEAN
  17. #endif
  18. #define NOWINRES
  19. #define NOSERVICE
  20. #define NOMCX
  21. #define NOIME
  22. #if !defined( _X360 )
  23. #pragma warning(push, 1)
  24. #pragma warning(disable: 4005)
  25. #include <windows.h>
  26. #pragma warning(pop)
  27. #endif
  28. #undef PostMessage
  29. #pragma warning( disable: 4800 ) // forcing value to bool 'true' or 'false' (performance warning)
  30. #endif // WIN32
  31. #endif // WINLITE_H