diff options
Diffstat (limited to 'src/inc/utilcode.h')
-rw-r--r-- | src/inc/utilcode.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/inc/utilcode.h b/src/inc/utilcode.h index b9e902f995..b9985a8b25 100644 --- a/src/inc/utilcode.h +++ b/src/inc/utilcode.h @@ -4711,7 +4711,7 @@ public: #endif // !FEATURE_PAL }; -#if !defined(DACCESS_COMPILE) && !defined(CLR_STANDALONE_BINDER) +#if !defined(DACCESS_COMPILE) // check if current thread is a GC thread (concurrent or server) inline BOOL IsGCSpecialThread () @@ -4895,7 +4895,7 @@ inline BOOL IsStackWalkerThread() STATIC_CONTRACT_MODE_ANY; STATIC_CONTRACT_CANNOT_TAKE_LOCK; -#if defined(DACCESS_COMPILE) || defined(CLR_STANDALONE_BINDER) +#if defined(DACCESS_COMPILE) return FALSE; #else return ClrFlsGetValue (TlsIdx_StackWalkerWalkingThread) != NULL; @@ -4910,13 +4910,13 @@ inline BOOL IsGCThread () STATIC_CONTRACT_SUPPORTS_DAC; STATIC_CONTRACT_SO_TOLERANT; -#if !defined(DACCESS_COMPILE) && !defined(CLR_STANDALONE_BINDER) +#if !defined(DACCESS_COMPILE) return IsGCSpecialThread () || IsSuspendEEThread (); #else return FALSE; #endif } -#ifndef CLR_STANDALONE_BINDER + class ClrFlsThreadTypeSwitch { public: @@ -5007,7 +5007,6 @@ private: PVOID m_PreviousValue; PredefinedTlsSlots m_slot; }; -#endif // !CLR_STANDALONE_BINDER //********************************************************************************* |