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.

48 lines
967 B

  1. #ifndef CRYPTOPP_STDCPP_H
  2. #define CRYPTOPP_STDCPP_H
  3. #if _MSC_VER >= 1500
  4. #define _DO_NOT_DECLARE_INTERLOCKED_INTRINSICS_IN_MEMORY
  5. #include <intrin.h>
  6. #endif
  7. #include <stddef.h>
  8. #include <assert.h>
  9. #include <limits.h>
  10. #include <stdlib.h>
  11. #include <string.h>
  12. #include <memory>
  13. #include <string>
  14. #include <exception>
  15. #include <typeinfo>
  16. #include <algorithm>
  17. #include <map>
  18. #include <vector>
  19. // workaround to enable typeinfo when exceptions aren't on, for Visual Studio 2010
  20. #if defined(_MSC_VER) && !_HAS_EXCEPTIONS
  21. _STD_BEGIN
  22. using ::type_info;
  23. _STD_END
  24. #endif
  25. #ifdef CRYPTOPP_INCLUDE_VECTOR_CC
  26. // workaround needed on Sun Studio 12u1 Sun C++ 5.10 SunOS_i386 128229-02 2009/09/21
  27. #include <vector.cc>
  28. #endif
  29. // for alloca
  30. #ifdef __sun
  31. #include <alloca.h>
  32. #elif defined(__MINGW32__) || defined(__BORLANDC__)
  33. #include <malloc.h>
  34. #endif
  35. #ifdef _MSC_VER
  36. #pragma warning(disable: 4231) // re-disable this
  37. #ifdef _CRTAPI1
  38. #define CRYPTOPP_MSVCRT6
  39. #endif
  40. #endif
  41. #endif