From 8348ba3744cefc37460147f1540165fba27833e7 Mon Sep 17 00:00:00 2001 From: Jan Kotas Date: Mon, 16 May 2016 16:50:07 -0700 Subject: Update GC from CoreRT https://github.com/dotnet/corert/tree/master/src/Native/gc 854b9ea7accfbd24423a10382c1a5a2bd6753450 --- src/gc/env/gcenv.base.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/gc/env/gcenv.base.h b/src/gc/env/gcenv.base.h index 16636aecff..7077082bb3 100644 --- a/src/gc/env/gcenv.base.h +++ b/src/gc/env/gcenv.base.h @@ -24,8 +24,12 @@ #endif // __clang__ #endif // !_MSC_VER +#ifndef SIZE_T_MAX #define SIZE_T_MAX ((size_t)-1) +#endif +#ifndef SSIZE_T_MAX #define SSIZE_T_MAX ((ptrdiff_t)(SIZE_T_MAX / 2)) +#endif #ifndef _INC_WINDOWS // ----------------------------------------------------------------------------------------------------------- @@ -454,7 +458,6 @@ public: static bool IsCurrentThreadFinalizer(); static void Wait(DWORD timeout, bool allowReentrantWait = false); - static bool WatchDog(); static void SignalFinalizationDone(bool fFinalizer); static void SetFinalizerThread(Thread * pThread); static HANDLE GetFinalizerEvent(); -- cgit v1.2.3