CommonBasic.h 1008 B

12345678910111213141516171819202122232425262728293031
  1. //-------------------------------------------------------------------------------------------------------
  2. // Copyright (C) Microsoft. All rights reserved.
  3. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
  4. //-------------------------------------------------------------------------------------------------------
  5. #pragma once
  6. #include "Banned.h"
  7. #include "CommonDefines.h"
  8. #define _CRT_RAND_S // Enable rand_s in the CRT
  9. #if defined(PROFILE_RECYCLER_ALLOC) || defined(HEAP_TRACK_ALLOC) || defined(ENABLE_DEBUG_CONFIG_OPTIONS)
  10. #ifdef __clang__
  11. #include <typeinfo>
  12. using std::type_info;
  13. #endif
  14. #endif
  15. #include "CommonPal.h"
  16. #include "Core/CommonMinMax.h"
  17. // === Core Header Files ===
  18. #include "Core/CommonTypedefs.h"
  19. #include "Core/Api.h"
  20. #include "Core/CriticalSection.h"
  21. #include "Core/Assertions.h"
  22. // === Exceptions Header Files ===
  23. #include "Exceptions/Throw.h"
  24. #include "Exceptions/ExceptionCheck.h"
  25. #include "Exceptions/ReportError.h"