diff options
author | ragmani <ragmani0216@gmail.com> | 2017-03-08 07:28:58 +0900 |
---|---|---|
committer | Jan Vorlicek <janvorli@microsoft.com> | 2017-03-07 23:28:58 +0100 |
commit | 47487b06044e7defc5ba66e096bb207eced03d9a (patch) | |
tree | 4c9dd7e0cd2120296e879d02277a2c7412707581 /src/utilcode/utsem.cpp | |
parent | be4ab599db716c105956befffc39a303682ad801 (diff) | |
download | coreclr-47487b06044e7defc5ba66e096bb207eced03d9a.tar.gz coreclr-47487b06044e7defc5ba66e096bb207eced03d9a.tar.bz2 coreclr-47487b06044e7defc5ba66e096bb207eced03d9a.zip |
[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.
Diffstat (limited to 'src/utilcode/utsem.cpp')
-rw-r--r-- | src/utilcode/utsem.cpp | 4 |
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 |