CommonBasic.h 976 B

1234567891011121314151617181920212223242526272829
  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. // === Core Header Files ===
  17. #include "Core/CommonTypedefs.h"
  18. #include "Core/Api.h"
  19. #include "Core/CriticalSection.h"
  20. #include "Core/Assertions.h"
  21. // === Exceptions Header Files ===
  22. #include "Exceptions/Throw.h"
  23. #include "Exceptions/ExceptionCheck.h"
  24. #include "Exceptions/ReportError.h"