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.

32 lines
1.0 KiB

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: This turns off all Valve-specific #defines. Because we sometimes
  4. // call external include files from inside .cpp files, we need to
  5. // wrap those includes like this:
  6. // #include "tier0/valve_off.h"
  7. // #include <external.h>
  8. // #include "tier0/valve_on.h"
  9. //
  10. // $NoKeywords: $
  11. //=============================================================================//
  12. #ifdef STEAM
  13. //-----------------------------------------------------------------------------
  14. // Unicode-related #defines (see wchartypes.h)
  15. //-----------------------------------------------------------------------------
  16. #undef char
  17. //-----------------------------------------------------------------------------
  18. // Memory-related #defines
  19. //-----------------------------------------------------------------------------
  20. #undef malloc
  21. #undef realloc
  22. #undef _expand
  23. #undef free
  24. #endif // STEAM
  25. // Allow long to be used in 3rd-party headers
  26. #undef long