From 47487b06044e7defc5ba66e096bb207eced03d9a Mon Sep 17 00:00:00 2001 From: ragmani Date: Wed, 8 Mar 2017 07:28:58 +0900 Subject: [x86/linux] Fix "Undefined Reference" error in CLR release build. (#10000) Replace "IncCantStopCount()" and "DecCantStopCount()" functions with nothing(#define IncCantStopCount()) to call in methods of UTSemReadWrite on x86/Linux. --- src/utilcode/utsem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/utilcode/utsem.cpp') 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 -- cgit v1.2.3