2
0

stdafx.h 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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 "TargetVer.h"
  7. #include <windows.h>
  8. #include <winbase.h>
  9. #include <oleauto.h>
  10. #pragma warning(disable:4985)
  11. #include <intrin.h>
  12. #include <wtypes.h>
  13. #include <stdio.h>
  14. #include <tchar.h>
  15. // This is an intentionally lame name because we can't use Assert or Verify etc
  16. #define VerifyCondition(expr) (DoVerify((expr), #expr, __FILE__, __LINE__))
  17. void DoVerify(bool value, const char * expr, const char * file, int line);
  18. inline unsigned int GetRandomInteger(unsigned int limit)
  19. {
  20. return rand() % limit;
  21. }
  22. #include "WeightedTable.h"
  23. #include "Common.h"
  24. #include "CommonInl.h"
  25. extern Recycler * recyclerInstance;
  26. #include "GCStress.h"
  27. #include "RecyclerTestObject.h"