summaryrefslogtreecommitdiff
path: root/src/utilcode/utsem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utilcode/utsem.cpp')
-rw-r--r--src/utilcode/utsem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utilcode/utsem.cpp b/src/utilcode/utsem.cpp
index 087a3aefac..4a76bbdb31 100644
--- a/src/utilcode/utsem.cpp
+++ b/src/utilcode/utsem.cpp
@@ -22,10 +22,10 @@ Revision History:
#include "contract.h"
// Consider replacing this with a #ifdef INTEROP_DEBUGGING
-#if !defined(SELF_NO_HOST) && defined(_TARGET_X86_)
+#if !defined(SELF_NO_HOST) && defined(_TARGET_X86_) && !defined(FEATURE_PAL)
// For Interop debugging, the UTSemReadWrite class must inform the debugger
// that this thread can't be suspended currently. See vm\util.hpp for the
-// implementation of these methods.
+// implementation of these methods.
void IncCantStopCount();
void DecCantStopCount();
#else