From: Evgeny Pavlov Date: Mon, 12 Dec 2016 12:27:49 +0000 (+0300) Subject: [x86/Linux][SOS] Don't include utilcode.h in gcdumpx86.cpp and gcdump.cpp (dotnet... X-Git-Tag: submit/tizen/20210909.063632~11030^2~8637 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cbea78c94d0125487cea962d423c8e8e43774c44;p=platform%2Fupstream%2Fdotnet%2Fruntime.git [x86/Linux][SOS] Don't include utilcode.h in gcdumpx86.cpp and gcdump.cpp (dotnet/coreclr#8475) Commit migrated from https://github.com/dotnet/coreclr/commit/5dbaa3cb2e2e11d98924afe9de472469b5136885 --- diff --git a/src/coreclr/src/gcdump/gcdump.cpp b/src/coreclr/src/gcdump/gcdump.cpp index 1c512c8..c89dd6c 100644 --- a/src/coreclr/src/gcdump/gcdump.cpp +++ b/src/coreclr/src/gcdump/gcdump.cpp @@ -11,7 +11,9 @@ * to the standard code-manager spec. */ +#ifndef FEATURE_PAL #include "utilcode.h" // For _ASSERTE() +#endif //!FEATURE_PAL #include "gcdump.h" /*****************************************************************************/ diff --git a/src/coreclr/src/gcdump/i386/gcdumpx86.cpp b/src/coreclr/src/gcdump/i386/gcdumpx86.cpp index 0c90397..23e6c68 100644 --- a/src/coreclr/src/gcdump/i386/gcdumpx86.cpp +++ b/src/coreclr/src/gcdump/i386/gcdumpx86.cpp @@ -9,7 +9,9 @@ #ifdef _TARGET_X86_ /*****************************************************************************/ +#ifndef FEATURE_PAL #include "utilcode.h" // For _ASSERTE() +#endif //!FEATURE_PAL #include "gcdump.h"