Counter Strike : Global Offensive Source Code
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.

31 lines
602 B

  1. //========= Copyright 1996-2005, 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. #define WIN32_LEAN_AND_MEAN
  16. #define NOWINRES
  17. #define NOSERVICE
  18. #define NOMCX
  19. #define NOIME
  20. #if !defined( _X360 )
  21. #pragma warning(push, 1)
  22. #pragma warning(disable: 4005)
  23. #include <windows.h>
  24. #pragma warning(pop)
  25. #endif
  26. #undef PostMessage
  27. #endif // WIN32
  28. #endif // WINLITE_H