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.

57 lines
1.2 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $Workfile: $
  6. // $NoKeywords: $
  7. //=============================================================================//
  8. #if defined(_WIN32) && !defined(_X360)
  9. #define WIN32_LEAN_AND_MEAN
  10. // 0x0601 gives us access to Windows 7 features. We have to be careful not to
  11. // depend on these features because we still support Windows XP.
  12. #define _WIN32_WINNT 0x0601
  13. #include <windows.h>
  14. #include <assert.h>
  15. #endif
  16. // tier0
  17. #include "tier0/basetypes.h"
  18. #include "tier0/dbgflag.h"
  19. #include "tier0/dbg.h"
  20. #ifdef STEAM
  21. #include "tier0/memhook.h"
  22. #endif
  23. #include "tier0/validator.h"
  24. // First include standard libraries
  25. #include "tier0/valve_off.h"
  26. #include <stdio.h>
  27. #include <ctype.h>
  28. #include <math.h>
  29. #include <malloc.h>
  30. #include <memory.h>
  31. #include <ctype.h>
  32. #include <limits.h>
  33. #include <assert.h>
  34. #include "tier0/valve_minmax_off.h" // GCC 4.2.2 headers screw up our min/max defs.
  35. #include <map>
  36. #include "tier0/valve_minmax_on.h" // GCC 4.2.2 headers screw up our min/max defs.
  37. #include <stddef.h>
  38. #ifdef POSIX
  39. #include <ctype.h>
  40. #include <limits.h>
  41. #define _MAX_PATH PATH_MAX
  42. #endif
  43. #include "tier0/valve_on.h"