Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/coreclr/tools/Common/Internal/Runtime/ModuleHeaders.cs')
-rw-r--r--src/coreclr/tools/Common/Internal/Runtime/ModuleHeaders.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/coreclr/tools/Common/Internal/Runtime/ModuleHeaders.cs b/src/coreclr/tools/Common/Internal/Runtime/ModuleHeaders.cs
index cc286f81b03..4c5799acf72 100644
--- a/src/coreclr/tools/Common/Internal/Runtime/ModuleHeaders.cs
+++ b/src/coreclr/tools/Common/Internal/Runtime/ModuleHeaders.cs
@@ -17,7 +17,7 @@ namespace Internal.Runtime
public const ushort CurrentMajorVersion = 8;
public const ushort CurrentMinorVersion = 0;
}
-
+#if READYTORUN
#pragma warning disable 0169
internal struct ReadyToRunHeader
{
@@ -34,6 +34,7 @@ namespace Internal.Runtime
// Array of sections follows.
};
#pragma warning restore 0169
+#endif
//
// ReadyToRunSectionType IDs are used by the runtime to look up specific global data sections