diff options
-rw-r--r-- | src/gc/env/gcenv.base.h | 5 |
1 files changed, 4 insertions, 1 deletions
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(); |