summaryrefslogtreecommitdiff
path: root/src/zap/zapheaders.cpp
diff options
context:
space:
mode:
authorJohn Chen (JOCHEN7) <jochen@microsoft.com>2015-04-28 13:20:01 -0700
committerJohn Chen (JOCHEN7) <jochen@microsoft.com>2015-04-28 23:15:22 -0700
commite0c80c5f5c7d395d79aa350a26f46101a78af95d (patch)
treeec611fcee20f99810a6704c26c2e790884d42976 /src/zap/zapheaders.cpp
parent1827eb2ae3201ccba95ca228d657041c8af3410c (diff)
downloadcoreclr-e0c80c5f5c7d395d79aa350a26f46101a78af95d.tar.gz
coreclr-e0c80c5f5c7d395d79aa350a26f46101a78af95d.tar.bz2
coreclr-e0c80c5f5c7d395d79aa350a26f46101a78af95d.zip
Build crossgen for Linux
- Crossgen is now built as part of coreclr - Crossgen successfully compiles mscorlib.dll - Resulting mscorlib.ni.dll not yet usable
Diffstat (limited to 'src/zap/zapheaders.cpp')
-rw-r--r--src/zap/zapheaders.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/zap/zapheaders.cpp b/src/zap/zapheaders.cpp
index 1d201184a2..7df102abf4 100644
--- a/src/zap/zapheaders.cpp
+++ b/src/zap/zapheaders.cpp
@@ -222,6 +222,7 @@ void ZapVersionResource::Save(ZapWriter * pZapWriter)
void ZapImage::CopyWin32VersionResource()
{
+#ifndef FEATURE_PAL
// Copy the version resource over so it is easy to see in the dumps where the ngened module came from
COUNT_T cbResourceData;
PVOID pResourceData = m_ModuleDecoder.GetWin32Resource(MAKEINTRESOURCE(1), RT_VERSION, &cbResourceData);
@@ -237,6 +238,7 @@ void ZapImage::CopyWin32VersionResource()
m_pWin32ResourceSection->Place(pVersionData);
SetDirectoryEntry(IMAGE_DIRECTORY_ENTRY_RESOURCE, m_pWin32ResourceSection);
+#endif
}
#undef MAKEINTRESOURCE